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
Report label in browse mode if it isn't rendered anywhere else (e.g. aria-label) #4773
Comments
Comment 1 by khsruru on 2015-01-05 07:57 |
Comment 2 by jteh on 2015-01-08 08:01 It's worth noting that you can still access this information by pressing NVDA+tab when you move to the field. Leaving open because I guess it'd be nice to have a way to do this for cases where the label really isn't rendered anywhere else, but the solution must avoid duplication. |
Comment 3 by khsruru on 2015-01-08 08:12 Thank you. |
Comment 4 by jteh on 2015-01-08 10:05 Also, there are other ways to assign labels that aren't immediately visible, such as the title attribute in some cases. Even if we could detect aria-label, it obviously wouldn't cover these cases. We need a better way to handle this than adding more and more special cases for various HTML attributes. |
Comment 5 by camlorn on 2015-02-22 20:11 |
Comment 7 by camlorn on 2015-02-22 20:23 |
Comment 8 by jteh on 2015-02-22 21:24 As for doing ARIA with the DOM, that's a separate discussion, but in short, we do not want to go down this path where we can avoid it; i.e. everywhere except MSHTML, where we have no choice. Aside from the fact that certain things are extremely difficult/inefficient with the DOM access an AT can get and that one ends up chasing one's tail dealing with edge cases, it's not at all future proof. |
Comment 9 by camlorn on 2015-02-24 17:39 |
Comment 11 by jteh (in reply to comment 9) on 2015-03-24 04:20
There is nothing in the spec to support this assertion. If anything, the spec indicates they should essentially be treated the same way. This also isn't true in the wild. For example, I've seen landmarks labelled with both aria-label and aria-labelledby and this is perfectly valid according to the spec. Btw, landmarks are perhaps the best example of why we can't just use a label as content wherever one is present without additional logic. If we did that, the entire content of the landmark would be replaced by the label. You can argue that we should make an exception for landmarks, but this is just one specific example. The point is taht this "label always overrides content" behaviour is just not possible. I've had this argument time and time again. If you care, you can go read about it in the various tickets concerning aria-label. |
P3 because this can mean the user misses information, but the implementation will take some time. |
I think this is also seen when aria-labelledby is used but the idlist element is aria-hidden (The label is read by NVDA, but skipped in browse mode). |
I find it particularly bad when navigating with nvda with the navigation mode with the arrows when there are two text boxes in succession, and the nvda in both reads only edit, and does not read the label, in this case to identify what is Requested in the form it is necessarily mandatory to press the nvda + tabe to know what to insert into each text box.To illustrate what I want to discuss, see the website:Http://www.3remetodista.org.br/When opening the page to get faster you can press the letter m twice to go to the second frame.Now navigate with arrows below until you reach the first text box, where nvda will only report editing, press another down arrow and nvda will arrive in the second text box where it will speak again editing.Note that since two text boxes one after the other can generate some confusion in not receiving the label from them, particularly when arriving in the second text box.The announcement of the labels when navigating with the navigation mode could be an option to be marked and unmarked by the user in the panel of the nvda.It is possible to obtain the information with nvda + tabe, however this command may not be known to the new users of nvda.This call took some directions that I did not understand either because I did not have a technical formation in programming, this my comment is more referring to the commentary that opened this call. |
Note: In the VBufBackend for gecko, if explicitName and not nameIsContent and not isLabelVisible, then expose alwaysReportName as true. |
Specific test case from @syntaxbliss in #5742 (comment):
Note: This refers to pressing down arrow to get to the input field, which suggests screen layout was off for this test. |
…_2::relationTargetsOfType rather than the custom navdirRelation constant (specific to Firefox), so that issue #4773 is also fixed for Chrome, not just Firefox.
…le elsewhere on the page (#8352) * Gecko vbufBackend: change isLabelVisible function to use IAccessible2_2::relationTargetsOfType rather than the custom navdirRelation constant (specific to Firefox), so that issue #4773 is also fixed for Chrome, not just Firefox. * Gecko IA2 vbufBackend: address review comments. * Gecko_ia2 vbufBackend: ensure that we properly release IAccessible2 relation targets.
Reported by khsruru on 2015-01-05 07:56
Hello, I’m Hyongsop Kim in Korea.
I have a suggestion about NVDA and aria-label.
Let’s suppose that one html code is blow.
<input type=”text” aria-label=”type keyword” </input>
In that case, if I press tab to approach to the edit box, NVDA reads aria-label attribute.
But in browse mode, if I press arrow key to approach, NVDA reads only edit, not read the aria-label text in Internet Explorer and Firefox.
In my opinion, aria-label text is used for the screen reader users in case not available to write visual text, NVDA should read the aria-label text even if use arrow keys.
Please check this issue.
Thank you.
The text was updated successfully, but these errors were encountered: