Skip to content

[mat-sort-header] customize aria-label via an input/api #23549

Closed
@Cabbageboy

Description

@Cabbageboy

Currently, there's no entry for a mat-sort-header button to have customized aria-label.
The default one falls to the id (e.g. id), which doesn't make sense to users when announced.

We hope to make it announce with customized aria-label like 'users sorted by ${id} in direction ${direction}'.

Metadata

Metadata

Assignees

Labels

AccessibilityThis issue is related to accessibility (a11y)GThis is is related to a Google internal issueP2The issue is important to a large percentage of users, with a workaroundarea: material/sort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions