New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hidden attribute not mapped to aria-hidden #16
Comments
Hi, There is a test case for this in the file |
The test case only tests for |
I see what you mean. You know, I never imagined anyone ever actually doing that... :) I understand your point, and it would be the case that, if hidden was processed as an override for CSS display:block, then having the hidden element exposed in the naming computation would indeed be problematic. In testing though, using the below code, it looks like display:block overrides the hidden attribute and causes it to be displayed regardless of the hidden attribute, and the naming computation algorithm appears to correctly be exposing this in the same way that the browsers are.
Please let me know if I am mistaken. |
I also think that
is equivalent to
|
This one I'm not sure what to do about, since I can't find anything in the documentation that states aria-hidden functionality is specifically subject to the hidden attribute, only that when aria-hidden is specified it must be processed accordingly no matter what other attributes are present (barring accepted qualifiers). It would be really confusing if a developer accidentally had hidden on an element that was visually exposed to all sighted users using display:block, but that element was still totally inaccessible to all non-sighted screen reader users because of this. Personally I think this would cause more problems than not if we did this. |
I linked it in the original post: https://www.w3.org/TR/html-aam-1.0/#details-id-201 |
Per the HTML spec:
With that said, I will open an issue for the HTML AAM to make this more clear. |
Is it spying software? Is W3.org downloaded on my phone? That’s software for the disabled. Could it be tracking me and spying on my info? |
Could u guys please help me out |
According to html-aam-1.0, the
hidden
attribute maps toaria-hidden="true"
. This implementation seems to rely on the fact thathidden
also visually hides the element.Example: https://xi.github.io/babelacc/?input=%3Ch1+style%3D%22display%3Ablock%22+hidden%3Efoo%3C%2Fh1%3E
The text was updated successfully, but these errors were encountered: