Skip to content

docs-bug([FocusTrap]): [Leak documentation about cdkTrapFocusAutoCapture] #19475

Closed
@ghost

Description

Documentation Feedback

there is a directive called cdkFocusInitial, which is used to focus an initial element, with FocusTrap directive, but the missing point is that if you don't add cdkTrapFocusAutoCapture=true to the FocusTraped element, cdkFocusInitial directive will not work, currently, there is no documentation about that (see https://material.angular.io/cdk/a11y/overview#regions )
so it would be nice if we could add this kind of info.
we could add it before the example starts: (Remember to use cdkTrapFocusAutoCapture on cdkTrapFocus, for cdkFocusInitial to work)

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsarea: cdk/a11ydocsThis issue is related to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions