Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(files): Remove confusing table header labels #41951

Merged
merged 2 commits into from
Dec 1, 2023

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 <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@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
63 of 69 checks passed
@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
4 participants