-
Notifications
You must be signed in to change notification settings - Fork 27
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
Why is outline depth involved in the level exposed for h1-h6? #336
Comments
yeh, this seems like something that shouldn't be there / would have been related to the outline algorithm which does not exist... |
Let's pretend for a moment the outline algorithm 1) exists and 2) is already implemented in user agents so that implementing this mapping would just be a matter of calling that function within the accessibility code of user agents to expose the calculated value to ATs. Should we be turning an Apparently this has a huge history. See https://bugs.chromium.org/p/chromium/issues/detail?id=365070 (which just got assigned to me). I think implementing this exposure/mapping is a bad idea and likely not what screen reader users expect. Perhaps we should bring this up at an ARIA WG meeting to see if we have consensus on whether or not potentially overriding heading levels by some algorithm is a good idea or a bad idea. |
Yeh. I’ve spent quite a bit of time reviewing all the older threads up to the most recent comments / ideas of what to do with hgroup etc. There’s no real consensus on this and I also have major concerns with changing the heading level automagically on authors. Im curious what the wg thinks on this, as well, but I find the idea concerning. |
@jnurthen Can we discuss this at the next ARIA WG meeting? |
just a clarification on the above, edit: my memory was clouded by other discussions on how the outline algorithm could be implemented. For instance this HTML spec thread where there was talk about avoiding the adjusting of h2 to h6. Also of note is whatwg/html#5002 where |
per ARIA wg call today, we will remove mention of this from the spec. |
@joanmarie so interesting on this... but HTML AAM has no mention of outline depth in it. Following the link in the bug report though, I get to the old HTML to Platform Accessibility APIs Implementation Guide - https://rawgit.com/w3c/html-api-map/master/index.html#el-h1-h6 This obsolete version of the spec somehow has today's date on it.... which sure makes it confusing. So, there's nothing for me to do here it seems, but do we need to do something with this obsolete version of the spec? Will wait to hear what you think, and then close. |
Huh. I guess I grabbed the text without looking to see that it wasn't actually in the HTML-AAM. Sorry about that! The top of that document does have a giant "Beware" box pointing to the correct spec. But that isn't visible when you follow the link to the mappings. Similarly, https://github.com/w3c/html-api-map is archived and points to the correct spec/repo. @michael-n-cooper Thoughts on what (if anything) we should do regarding https://rawgit.com/w3c/html-api-map/master/index.html? |
We could add the super annoying warnings (like https://www.w3.org/TR/2012/WD-proximity-20120712/ ) but we would need to unarchive the repository before making any changes. I'd love a respec enhancement where someone could simply add a parameter to respec config which would add the super annoying warning AND change the "W3C Editors Draft" text to "Obsolete w3c draft" and change the color to something super weird so folks will notice it. |
The HTML-AAM currently says the following for
h1
-h6
:This surprised me. As a screen reader developer, I've always assumed that
h1
would expose1
,h2
would expose2
, ...h6
would expose6
. And I think that's what the implementations currently do (right?). I also think that if I were a blind web author and I made a page usingh3
and my screen reader treated it as anything other than level 3, I'd report it as a screen reader bug.The text was updated successfully, but these errors were encountered: