Closed
Bug 631068
Opened 14 years ago
Closed 14 years ago
NVDA stops reading field label after hide/show cycle
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
VERIFIED
FIXED
mozilla2.0b12
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: zwol, Assigned: surkov)
Details
(Keywords: regression, Whiteboard: [hardblocker])
Attachments
(2 files)
891 bytes,
text/html
|
Details | |
5.87 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
In Firefox 4.0b10 with NVDA active, if you load the attached test case, NVDA will initially recite something like "hide link show link review edit multi-line". But if you trigger "hide" and then "show", it does not repeat the word "review".
NVDA *does* repeat the word "review" if the label is associated with the text field by enclosure rather than a for="", or if the overflow changes or the delay are removed.
This is a regression from 3.6.
Assignee | ||
Comment 1•14 years ago
|
||
I tried to navigate hide link, activate it, tab to show link, activate it, arrow down, it reads "repeat" and I can traverse the page by arrow keys. The behavior the same in Fx4 and Fx3.6 on nightly. I didn't tried Beta10 but Beta10 wasn't really good.
Marco, can you confirm my observation and if so then close bug as worksforme?
Reporter | ||
Comment 2•14 years ago
|
||
It reads "repeat"? Did you mean "review"?
Could you explain what you mean by "Beta10 wasn't really good"? If you can't reproduce the bug even with beta10 I need to go back and mess with the test case, but if you *can* we can probably consider this fixed.
Assignee | ||
Comment 3•14 years ago
|
||
(In reply to comment #1)
> I tried to navigate hide link, activate it, tab to show link, activate it,
> arrow down, it reads "repeat" and I can traverse the page by arrow keys.
doing tabbing I get "hide link", "show link", "review edit multiline", then shfit tab to hide link, press it, tab to show link, press it, then tab to edit and I get "review edit multiline". I think that should be a steps to reproduce.
So closing as worksforme, please reopen it if you still see a problem on nightlies or ongoing beta11.
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #2)
> It reads "repeat"? Did you mean "review"?
right. I guess I thought about something different when I spelled it :)
> Could you explain what you mean by "Beta10 wasn't really good"?
We weren't in time to polish our major code changes introduced in FX4. It's quite possible that beta10 has a lacks of a11y support. Beta11 feels much better though has a problems still.
> If you can't
> reproduce the bug even with beta10 I need to go back and mess with the test
> case, but if you *can* we can probably consider this fixed.
I'll try with beta10.
Assignee | ||
Comment 5•14 years ago
|
||
(In reply to comment #4)
> I'll try with beta10.
confirm, I can reproduce with beta10
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•14 years ago
|
Keywords: regressionwindow-wanted
Reporter | ||
Comment 6•14 years ago
|
||
Thanks for the quick work; I'll have my informant verify once beta11 comes 'round.
Assignee | ||
Comment 7•14 years ago
|
||
(In reply to comment #6)
> I'll have my informant verify once beta11 comes
> 'round.
ok, please make sure to change status on resolved once you confirm
Reporter | ||
Comment 8•14 years ago
|
||
Informant reports problem still present with beta 11. Informant has previously refused to touch nightlies under any circumstances whatsoever, so please do not ask.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WORKSFORME → ---
Reporter | ||
Comment 9•14 years ago
|
||
Note also that I have myself failed to reproduce the problem with beta 10 under GNOME with Orca, and failed to make OSX's VoiceOver do anything whatsoever constructive with beta10 or beta11 (the VoiceOver highlight cannot be budged from the window's close button -- I did file a bug for that, yes?)
Therefore there is every reason to believe this problem is specific to Windows and/or specific to NVDA. I bring this up because nobody else who failed to reproduce the problem with pre-beta11 nightlies said exactly which OS and/or screenreader they were using.
Assignee | ||
Comment 10•14 years ago
|
||
(In reply to comment #9)
> Note also that I have myself failed to reproduce the problem with beta 10 under
> GNOME with Orca, and failed to make OSX's VoiceOver do anything whatsoever
> constructive with beta10 or beta11 (the VoiceOver highlight cannot be budged
> from the window's close button -- I did file a bug for that, yes?)
No, Firefox 4 is not accessible on Mac.
> Therefore there is every reason to believe this problem is specific to Windows
> and/or specific to NVDA. I bring this up because nobody else who failed to
> reproduce the problem with pre-beta11 nightlies said exactly which OS and/or
> screenreader they were using.
Marco, can you please look?
Comment 11•14 years ago
|
||
Yes, I can now reproduce this with NVDA 2011.1Beta2 and Firefox 4.0b12pre nightlies. In the tree, the accessible name is not again associated with the label's text after showing. AccProbe confirms this observation, the textarea no longer has the accessible name. So this is not just NVDA that's exposing this problem, it's our code.
Assignee | ||
Comment 12•14 years ago
|
||
hardblocker, final+ is ok with this I think. Must be fixed in fx4 since points to underlying serious problems.
blocking2.0: --- → ?
Assignee | ||
Comment 13•14 years ago
|
||
Marco, can you find regression range? I was pretty sure I wasn't able to see on nightly (comment #3) while I saw it on beta10 (comment #5).
Comment 14•14 years ago
|
||
(In reply to comment #12)
> hardblocker, final+ is ok with this I think. Must be fixed in fx4 since points
> to underlying serious problems.
Yeah, comment 11 worries me. Let's try to get a low risk fix.
Zack, thanks for staying with this bug. I wonder what Orca is doing differently, perhaps the lack of a proper virtual buffer is helping, but that doesn't explain Marco's observations on win32 with accprobe.
blocking2.0: ? → final+
Whiteboard: [hardblocker]
Reporter | ||
Comment 15•14 years ago
|
||
I misremembered which accessibility test case I was unable to reproduce with Orca. Orca's behavior with Hg revision cc3f910bf168 is as follows:
* On page load: reads a lot of confused nonsense.
* Tabbing: starts with "review text" when the keyboard-traversal highlight is on the entire content pane, then subsequent tabs recite "hide link", "show link", "navigation toolbar ...", "search ...", back to "review text."
* Activate "hide": silence.
* Activate "show": reads "review"; tab sequence (content only) is now "text", "hide link", "show link", "text".
That looks to me like the same behavior seen with NVDA, modulo terminology changes ("text" instead of "edit multiline"); so there is a cross-platform bug here. Does anyone know if there's a GNOME equivalent of AccProbe?
Reporter | ||
Updated•14 years ago
|
OS: Windows 7 → All
Hardware: x86 → All
Comment 16•14 years ago
|
||
Zack, there is accerciser for GNOME:
http://live.gnome.org/Accerciser
I have tested it and I confirm: after loading the text area has "labelled-by: review" relation. After hide/show, it lost it.
Assignee | ||
Comment 17•14 years ago
|
||
when display block is set the accessible tree is created, then overflow style change triggers an accessible tree recreation, the accessible tree is created before hide event is processed and destroys relations (as side effect on subtree shutdown).
blocking2.0: final+ → ?
OS: All → Windows 7
Hardware: All → x86
Assignee | ||
Comment 18•14 years ago
|
||
Assignee: nobody → surkov.alexander
Status: REOPENED → ASSIGNED
Attachment #511706 -
Flags: review?(bolterbugz)
Updated•14 years ago
|
blocking2.0: ? → final+
Assignee | ||
Comment 19•14 years ago
|
||
(In reply to comment #18)
> Created attachment 511706 [details] [diff] [review]
> patch
I fixed unwanted changes in mochitests locally.
Comment 20•14 years ago
|
||
Comment on attachment 511706 [details] [diff] [review]
patch
r=me.
>+++ b/accessible/tests/mochitest/relations/test_update.html
>- gQueue = new eventQueue();
>+ gQueue = new eventQueue();/*
> gQueue.push(new insertRelated("aria-labelledby", "dependent3", true,
> RELATION_LABELLED_BY, RELATION_LABEL_FOR));
> gQueue.push(new insertRelated("aria-labelledby", "dependent4", false,
> RELATION_LABELLED_BY, RELATION_LABEL_FOR));
>
> gQueue.push(new insertRelated("aria-describedby", "dependent5", true,
> RELATION_DESCRIBED_BY,
> RELATION_DESCRIPTION_FOR));
>@@ -126,16 +164,19 @@
> gQueue.push(new insertRelated("aria-controls", "dependent10", false,
> RELATION_CONTROLLER_FOR,
> RELATION_CONTROLLED_BY));
>
> gQueue.push(new insertRelated("aria-flowto", "dependent11", true,
> RELATION_FLOWS_TO, RELATION_FLOWS_FROM));
> gQueue.push(new insertRelated("aria-flowto", "dependent12", false,
> RELATION_FLOWS_TO, RELATION_FLOWS_FROM));
>+*/
Might as well delete this ^ but what about the tests for DESCR* and CONTROLLER*?
Attachment #511706 -
Flags: review?(bolterbugz) → review+
Assignee | ||
Comment 21•14 years ago
|
||
(In reply to comment #20)
> Might as well delete this ^ but what about the tests for DESCR* and
> CONTROLLER*?
these are unwanted changes from comment #19 :)
Assignee | ||
Comment 22•14 years ago
|
||
landed on 2.0 (fx4b12) - http://hg.mozilla.org/mozilla-central/rev/91debd04e05e
Status: ASSIGNED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b12
Assignee | ||
Updated•14 years ago
|
Flags: in-testsuite+
Comment 23•14 years ago
|
||
(In reply to comment #21)
> (In reply to comment #20)
>
> > Might as well delete this ^ but what about the tests for DESCR* and
> > CONTROLLER*?
>
> these are unwanted changes from comment #19 :)
Got it. Thanks :)
Reporter | ||
Comment 24•14 years ago
|
||
Rev 447d780336cc WFM with Orca.
Comment 25•14 years ago
|
||
Verified fixed in Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110213 Firefox/4.0b12pre
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•