You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The programmatic and visual labels in the DataTable headers do not match. This is causing an AC violation
The programmatic (aria) label needs to match the visual label (for example "Product/Offering Name") or you'll have a Accessibility Checker violation that looks like this
a way of preserving the current label format and having assistive technologies describe usage information that's implied visually to a sighted user would be having some situation like this
<divstyle="display: none" id="usage-description-1">Click to sort</div><buttonaria-describedby="usage-description-1">Product/Offering Name</button>
That will read the label, element type, and it's intended effect nicely and avoid any AAT errors 👍
The text was updated successfully, but these errors were encountered:
dakahn
changed the title
Data table headers throw Accessibility Checker error
Data table sortable headers visual and programmatic labels do not match
Nov 30, 2020
The programmatic and visual labels in the DataTable headers do not match. This is causing an AC violation
The programmatic (aria) label needs to match the visual label (for example "Product/Offering Name") or you'll have a Accessibility Checker violation that looks like this
a way of preserving the current label format and having assistive technologies describe usage information that's implied visually to a sighted user would be having some situation like this
That will read the label, element type, and it's intended effect nicely and avoid any AAT errors 👍
The text was updated successfully, but these errors were encountered: