New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 600150 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug
Team-Accessibility



Sign in to add a comment

[a11y] NVDA - navigating reports previously focused item+currently focused

Reported by kevincha...@gmail.com, Apr 2 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2695.1 Safari/537.36

Steps to reproduce the problem:
1. Install/run NVDA from http://www.nvaccess.org/
2. inbox.google.com
3. NVDA+SPACEBAR for Focus mode > RIGHT ARROW through items

What is the expected behavior?
newly focused item to be reported by NVDA

What went wrong?
Previously focused+newly focused items are reported (e.g. moving from 3 to 4 will report both)

Did this work before? No 

Chrome version: 51.0.2695.1  Channel: canary
OS Version: Windows 10
Flash Version: Shockwave Flash 21.0 r0

Works as expected in Firefox
 
I believe that this did used to work better in previous versions of Chrome, however I also am observing the bug using Chrome Canary latest build with the latest development NEXT snapshot of NVDA as is found at http://www.nvaccess.org/files/nvda/snapshots/
Status: Started (was: Unconfirmed)
This is currently the primary issue keeping me from using Chrome as my one and only browser. Therefore I'm hanging on the edge of my seat for this one to get fixed. It's rare that one piece of software does so many things exactly right in terms of accessibility.
Could someone please look at this? It's much older than some of the things that currently get attended to, and the timing issue it addresses may well affect other aspects. Do feel free to contact me in case of required clarification on what exactly I am observing here.

Comment 5 by chaok@google.com, Aug 30 2016

Ping?
Any tentative estimate as to when this will be fixed? Is NVDA still the recommended screen reader for Chrome, or has Chromevox evolved to the point of being usable on Windows and should be used instead?

Comment 7 by chaok@google.com, Sep 11 2016

@Nektar: Any update? 
Thanks!
Owner: dmazz...@chromium.org
OK, I figured out what's going on.

When you move from one item to another in the inbox, the accessible name of both items changes subtly. The previous item goes from "PreviousItemSummary Item actions" to "PreviousItemSummary", and the next item goes from "NextItemSummary" to "NextItemSummary Item actions".

In other words, the current selected list item has the word "Item actions" added at the end of its accessible name, and the previous one has that text removed from it. It's hard to catch given how long the summary of most items is.

All that is fine, but the issue is with the order in which we fire the events. We fire them in this order:

1. Name change on previous item
2. Name change on new item
3. Focus event on new item

So at the point NVDA gets the name change on the previous item, it thinks it's still focused and reads it out, even though immediately afterwards focus changes.

I confirmed that this is the source of the problem by commenting out all name change events, and the problem goes away.

Considering all of these things happen at basically the same time I think NVDA should fix it by making the focus event interrupt the name change annoucement.

I'm not sure what workaround we should do on our side. I don't think it's incorrect for us to fire the name change events.

I'm going to make a trivial repro

Cc: ja...@nvaccess.org
Components: -UI UI>Accessibility
Labels: -Via-Wizard NVDA
OK, I've attached a small standalone HTML file that reproduces the problem.

NVDA does the same incorrect behavior with this HTML when moving through the list, with either Firefox or Chrome. JAWS and VoiceOver both work fine on the same example.

I filed this NVDA issue: https://github.com/nvaccess/nvda/issues/6421

listbox-namechange.html
1.8 KB View Download
I have forwarded the comments and the link to this bug to the NVDA dev
list. I am hoping that they will see this and action it.

Thanks.
It might not be necessary to ping nvda_dev. Jamie, one of the NVDA devs is already CCed on this bug.
@dmazzoni Note that this behavior also occurs in Gmail with selected messages. This is the aria-labelledby fix I am working on, so I think that for Gmail both the NVDA and our bugs need to be fixed.

I've commented on the NVDA issue with more details, but in short, I don't think it's correct for us to just silence previous utterances because of a focus event. IMO, it doesn't make sense for the label of the previous item to change before the new one gets focus anyway; isn't it the act of moving the focus/selection which *causes* the name of the previous item to change? It's not incorrect to fire the name change, but firing it before focus doesn't make sense to me. Note that this is arguably an Inbox issue; if it makes changes before moving the focus, then Chrome is doing exactly what it's supposed to. All of this said, if we can hack around this without silencing speech, we'll do so.
Owner: ----
Status: Available (was: Started)

Comment 15 by chaok@google.com, Dec 5 2016

Labels: -Pri-2 Pri-1

Comment 16 by chaok@google.com, Jan 13 2017

Cc: dmochak@google.com dmazz...@chromium.org lpalmaro@chromium.org
Owner: nek...@chromium.org
Per Drew:
"I also find inbox to be unusable on Chrome because when you press the left or right arrow keys to move through the list of messages, the screenreader will read the message I was focused on followed by the message I am currently focused on. Huge time waster."
Labels: NewComponent-Accessibility-Compatibility
Labels: NewComponent-Accessibility
Components: UI>Accessibility>Compatibility
Components: -UI>Accessibility
Labels: -newcomponent-accessibility-compatibility -newcomponent-accessibility
Labels: triage-dougt
Labels: -triage-dougt
Labels: -NVDA NVDA-specific
Status: Fixed (was: Available)
 In which version of Chrome was this fixed? I have noticed some improvement in this, but it is not always consistent. And I definitely have to be slower about pushing keys. Also, I don’t know if it is part of the same issue or not, but in Inbox when selecting messages, or deleting a message, those announcements are read after the entirety of the email as read.  And selection counts tend to be one off. For example, if five messages are selected and I select a sixth, NVDA reports five messages selected, and then reports six messages selected. This is with the latest canary as of yesterday. Has there been an additional changes? 
Labels: win-a11y

Sign in to add a comment