Skip to content

Grid docs: explain sorter aria-label generation #1833

Open
@rolfsmeds

Description

@rolfsmeds

aria-label attributes are autogenerated for Grid column sorters based on the text content in the sorter, prefixed by "Sort by ", so e.g. a column with the header text "Surname" would get aria-label="Sort by Surname". Currently this does not work with column headers with Components.

These details should be mentioned in the Grid documentation (e.g. under Sorting section, or in a separate Accessibility section).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions