Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upRender aria-label in browse mode when it is used to override content #1354
Comments
This comment has been minimized.
This comment has been minimized.
|
Comment 1 by jteh on 2011-02-04 21:26 |
This comment has been minimized.
This comment has been minimized.
|
Comment 2 by aleksey_s (in reply to comment description) on 2011-02-04 21:35
I am not sure that announcing label inline is convenient, esp. for mathematical expressions user might want to navigate it character by character or similarly. So it should be rendered in to buffer as a text. |
This comment has been minimized.
This comment has been minimized.
|
Comment 3 by courtney.christensen@... (in reply to comment 2) on 2011-02-04 21:42
That's an ''excellent'' point. In fact, that's one of the bigger accessibility issues we deal with when it comes to math expressions. Descriptions of math equations can quickly become very long and difficult to visualize. Please forgive my ignorance in the way this text is structured in memory -- you're spot on. |
This comment has been minimized.
This comment has been minimized.
|
Comment 4 by aleksey_s on 2011-02-04 21:54 |
This comment has been minimized.
This comment has been minimized.
|
Comment 5 by courtney.christensen@... (in reply to comment 4) on 2011-02-04 22:12
Well I'll be...it sure does! However, it doesn't as soon as I add a text child. The following (stupid example) reads "x equals zero point two five" (IE ''only''):
Yet this does not:
This actually seems like intentional behavior on the part of NVDA, but I have only a cursory knowledge of NVDA. It should be noted that neither example speaks the label in Firefox (4.0b10) or Chrome (9.0.597.84). Not sure if I'm helping here... |
This comment has been minimized.
This comment has been minimized.
|
Comment 6 by jteh on 2011-07-07 10:13 |
This comment has been minimized.
This comment has been minimized.
|
Comment 7 by jteh on 2012-06-20 03:19 and tags" to "Render aria-label in browse mode when it is used to override content"
|
This comment has been minimized.
This comment has been minimized.
|
Comment 9 by parham on 2012-06-20 04:45 |
This comment has been minimized.
This comment has been minimized.
|
Comment 10 by jteh on 2012-08-31 06:08 |
This comment has been minimized.
This comment has been minimized.
|
Comment 11 by jteh on 2012-10-19 01:15 |
This comment has been minimized.
This comment has been minimized.
|
Comment 12 by jteh on 2013-03-20 02:12 |
This comment has been minimized.
This comment has been minimized.
|
Comment 13 by jteh on 2013-04-24 01:48 |
This comment has been minimized.
This comment has been minimized.
|
Comment 14 by jteh on 2013-06-26 02:55 |
This comment has been minimized.
This comment has been minimized.
|
Comment 15 by parham (in reply to comment 13) on 2013-10-07 09:57
I'm not sure about the proper channels for doing this, but is it possible for the author to explicitly say that the label overrides the content? Look at the below code as an example. The character between the opening and closing "a" tag is a UTF-8 icon that doesn't make sense to eSpeak (and when eSpeak doesn't read it, I'm not sure if anything would, lol):
This would definitely need the "Settings" aria label to make sense, although the content inside is... well, something. |
This comment has been minimized.
This comment has been minimized.
|
Comment 16 by jteh (in reply to comment 15) on 2013-10-07 16:35
Not at present; that's the problem here.
That character is in the Unicode private use area. There was some talk of overriding content with the label for such characters, which might solve this case. Btw, while I generally oppose aria-hidden, here's a possible work around for this case:
|
This comment has been minimized.
This comment has been minimized.
|
Comment 17 by jteh on 2013-11-27 06:21 |
This comment has been minimized.
This comment has been minimized.
|
Comment 18 by jteh on 2014-02-14 08:54 Aria-label(ledby) still won't override the content for spans and divs because this would break labelled landmarks, regions, etc. |
This comment has been minimized.
This comment has been minimized.
|
Comment 19 by jteh on 2014-02-14 08:55 |
This comment has been minimized.
This comment has been minimized.
|
Comment 21 by MarcoZehe on 2014-02-15 05:40 |
This comment has been minimized.
This comment has been minimized.
|
Comment 23 by James Teh <jamie@... on 2014-02-17 03:41
Changes:
|
This comment has been minimized.
This comment has been minimized.
|
Comment 25 by James Teh <jamie@... on 2014-03-10 04:54
Changes:
|
This comment has been minimized.
This comment has been minimized.
|
Comment 26 by jteh on 2014-03-10 04:56 |
nvaccessAuto commentedFeb 4, 2011
Reported by courtney.christensen@... on 2011-02-04 21:19
The
aria-labelattribute is currently not recognized on structural HTML elements such as<div>and<span>elements. There are many cases in which this would be valuable. For example, MathJax transcribes MathMLalttextinto a<span>element with anaria-label:Presently, NVDA ignores the
aria-labeland speaks the contents as text.I propose the alternate text be announced "inline", much in the way landmarks are announced. If the child content is not relevant to the screen-reader, it is up to the content author to prevent it from being spoken (though
aria-hiddenor a similar mechanism).Blocking #1195, #1362, #3551, #3852, #3889