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
(aria-label should take precedence, just as AT/screen readers do)
But please be aware that aria-label is not allowed for all roles, cf. the exclude list at https://w3c.github.io/aria/#aria-label. It's a common authoring error ito add aria-label attributes when they aren't allowed.
In that case, browsers should ignore aria-label when building the accessibility tree and thus AT would not have access to it. (And the reality is much more complicated still.)
Indeed. There are a couple of JS libraries that effectively implement the accname spec. IIRC none of them are perfect, e.g. I don't think anyone tries to figure out the "true" role since browsers have no getComputedRole API (yet).
(aria-label should take precedence, just as AT/screen readers do)
The text was updated successfully, but these errors were encountered: