mui-datatables icon indicating copy to clipboard operation
mui-datatables copied to clipboard

WCAG enhacement

Open leostereo opened this issue 1 year ago • 0 comments

This is valid when Windows narrator is active. When you change the sorting order of colum aria-live will be feeded using the "name" field from colum definition and then will append the ascending/descending word. Problem is that most of time "name" attribute comes with camel case, underscore, hyphens u other tipe of not friendly for speach characters. It would be great if we can use "label" field to feed the aria-live.

Expected Behavior

Aria-live should use "label" field instead of "name".

Current Behavior

"name" field is used to feed aria-live component.

Steps to Reproduce (for bugs)

Turn on narrator. Click on any sortable column header and hear the phrase: "table is now sorted by [here it is the name field...]"

Hope to be clear.

leostereo avatar Apr 20 '23 13:04 leostereo