]> source.dussan.org Git - nextcloud-server.git/commit
fix(files): Remove confusing table header labels
authorFerdinand Thiessen <opensource@fthiessen.de>
Fri, 1 Dec 2023 01:33:52 +0000 (02:33 +0100)
committerFerdinand Thiessen <opensource@fthiessen.de>
Fri, 1 Dec 2023 16:30:23 +0000 (17:30 +0100)
commitbb12b8e0427e9a3845d8d618727f5644930e4f0f
treecd6c46fc46843bf6d86dd07cfb3551aa38013668
parent0fc8c15cd2b42a5410a0a31eaf52f6a88ab05253
fix(files): Remove confusing table header labels

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>
apps/files/src/components/FilesListTableHeaderButton.vue
apps/files/src/components/FilesListVirtual.vue