Esri / a11y-map

A11y map testing
Apache License 2.0
23 stars 5 forks source link

Avoid using both `title` and `aria-label` with the same value #29

Closed Malvoz closed 2 years ago

Malvoz commented 3 years ago

There's an issue with NVDA (at least) that causes double speak due to identical values in title and aria-label: https://github.com/nvaccess/nvda/issues/7841.

This is currently an issue mostly present in buttons within popups. Conveniently these buttons have child aria-hidden="true" spans for the icons which the title could be moved to (to preserve the native tooltip-on-hover effect), as such only aria-label would be available to ATs and the double speak bug avoided.

Malvoz commented 2 years ago

While I don't see the need for both aria-label and title with identical values, the NVDA bug has been fixed so this shouldn't be all too important now.