Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Dec 1, 2023

Summary

For screen readers the table header was very verbose and confusing, as the SR reads out e.g. "sort list by name button FILENAME" for every row / file. Instead reduce it to "name button FILENAME" and add information about sorting to caption, as recommended by WCAG 1

Checklist

@susnux
Copy link
Contributor Author

susnux commented Dec 1, 2023

/backport to stable28

For screen readers the table header was very verbose and confusing,
as the SR reads out e.g. "sort list by name button FILENAME" for every row / file.
Instead reduce it to "name button FILENAME" and add information about sorting to caption, as recommended by WCAG [1]

[1]: https://www.w3.org/WAI/ARIA/apg/patterns/table/examples/sortable-table/

Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the fix/files-table-headers branch from 32d356d to 57afeb1 Compare December 1, 2023 16:32
@susnux susnux changed the base branch from fix/files-aria-label-on-wrong-element to master December 1, 2023 16:32
@susnux
Copy link
Contributor Author

susnux commented Dec 1, 2023

Sorry for the noise, Github assigned random people...

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I'm here

@susnux susnux merged commit e915c7d into master Dec 1, 2023
@susnux susnux deleted the fix/files-table-headers branch December 1, 2023 17:03
@susnux
Copy link
Contributor Author

susnux commented Dec 2, 2023

/backport bb12b8e to stable28

1 similar comment
@susnux
Copy link
Contributor Author

susnux commented Dec 3, 2023

/backport bb12b8e to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

6 participants