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
This would cause some screen readers, such as NVDA, to announce Zoom in twice. Although this is considered a bug (nvaccess/nvda#7841, in the case of NVDA) the issue can be fixed by conveying only one of title or aria-label.
To avoid double speak while maintaining the native tooltips from title the title attribute could be set on the mapboxgl-ctrl-icon icon instead:
In this case the aria-label would be conveyed to ATs and the native tooltip still available on hover. But there would be no double speak as the title is hidden from ATs due to aria-hidden="true".
The text was updated successfully, but these errors were encountered:
Most controls use both
aria-label
andtitle
with identical values,for example the zoom in control:
This would cause some screen readers, such as NVDA, to announce nvaccess/nvda#7841, in the case of NVDA) the issue can be fixed by conveying only one of
twice. Although this is considered a bug (title
oraria-label
.To avoid double speak while maintaining the native tooltips from
title
thetitle
attribute could be set on themapboxgl-ctrl-icon
icon instead:In this case the
aria-label
would be conveyed to ATs and the native tooltip still available on hover. But there would be no double speak as thetitle
is hidden from ATs due toaria-hidden="true"
.The text was updated successfully, but these errors were encountered: