vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

feat(VDataTable): Screenreader suport for sorting

Open viktorkratz opened this issue 4 months ago • 0 comments

Description

For screenreader users there was no possibility to dtermine wether a table column is sortable or not. The sort status was not readable too. This commit fixes this problem. In theory aria-sort can only be set to one table header (see https://www.w3.org/TR/wai-aria-1.2/#aria-sort), but in most screen readers it's even working with multiple columns containing aria-sort. For others it's only anouncing the first one, so i think setting it on every column which has an order set is the best option.

Markup:

viktorkratz avatar Oct 19 '24 03:10 viktorkratz