gregnb / gregnb/mui-datatables

WCAG enhacement

Open
#2,002 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.