Skip to content

a11y: mat-drawer-container aria-hidden elements should not be focusable.  #16155

@Anoop-D

Description

@Anoop-D

Bug, feature request, or proposal:

Mat-drawer is composed of a focus-trap, which has the classes: cdk-visually-hidden cdk-focus-trap-anchor.

According to WCAG 4.1.2: ARIA hidden element must not contain focusable elements.

What is the expected behavior?

Elements with aria-hidden should have tabindex: -1 or otherwise be unfocusable via keyboard navigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions