Skip to content

feat(material/checkbox): MatCheckbox is missing support for aria-expanded attribute #28761

Closed
@sheogora

Description

@sheogora

Feature Description

Based on documentation for aria-expanded one of the roles with which this attribute is associated with is role=checkbox. There is currently no way of providing this aria-expanded attribute to the input element generated by MatCheckbox component.

Additionally based on the documentation provided aria-controls and aria-owns are also missing to indicate to the user which section the output of this input will affect.

Also see further discussion on extending support to role=radio

Use Case

Checkbox toggle status expands a related section with further options/information. Screen reader should be able to inform the user of any sections expanded/collapsed as a result of their action

Before
image

After
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    AccessibilityThis issue is related to accessibility (a11y)P2The issue is important to a large percentage of users, with a workaroundarea: material/checkbox

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions