Replies: 4 comments 7 replies
-
I don't think so: display:none is stronger than aria-hidden |
Beta Was this translation helpful? Give feedback.
-
@joanmarie I think I agree with you - but I would never recommend that someone do such a thing. If indeed all browsers pass this check consistently then IMO we should clarify the spec language to match this reality rather than try to change implementations to match spec language. |
Beta Was this translation helpful? Give feedback.
-
linking w3c/core-aam#58 |
Beta Was this translation helpful? Give feedback.
-
Personally I've never been in favor of using aria-hidden="false" to override visually hidden elements to expose them to screen reader users. Mainly because I've seen how this can be abused. E.G. If a dev does this and the hidden content includes active elements like links and form fields, then all of these elements are also exposed to the user, and are totally impossible to interact with or do anything with. I gave up a long time ago trying to get this removed from the spec, so I guess we just try to document what the majority of browsers are already doing and let things fall where they may. |
Beta Was this translation helpful? Give feedback.
-
According to https://www.w3.org/wiki/AccName_1.1_Testable_Statements#Name_file-label-inline-hidden-elements, the accessible name should be "2 4 6 8 10". However, we have:
<span aria-hidden="false" class="hidden">9</span><span>10</span>
Step 2A of the AccName spec says:
Hidden is defined as:
aria-hidden
set tofalse
means it is included in the accessibility tree and thus potentially perceivable to users of assistive technologies.So should the results be "2 4 6 8 9 10" instead?
Beta Was this translation helpful? Give feedback.
All reactions