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

Issue 650124 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , All , Mac
Pri: 2
Type: Bug
Team-Accessibility



Sign in to add a comment

Scrolling can cause focused accessible to be regenerated

Project Member Reported by ja...@nvaccess.org, Sep 26 2016

Issue description

Version: 55.0.2871.0 canary (64-bit)
OS: Windows 10 64 bit

STR:
1. Start the NVDA screen reader.
2. Open this URL in Chrome: https://github.com/nvaccess/nvda/issues/6404
3. Press control+home then g.
4. Press down arrow until you hear something like: "link  fernando-jose-silva commented  link  2 days ago"
5. Press NVDA+tab to report the focus.
Observe: NVDA should say "fernando-jose-silva  link..."
6. Keep pressing down arrow to move through the comment.
Expected: You should eventually reach the bottom of the comment.
Actual: Somewhere within the log output included in the comment, NVDA will say "fernando-jose-silva  link" after reporting the line you moved to.
7. Press down arrow a few more times.
Expected: You should continue to move down the page.
Actual: You have been thrown back to the top of the comment.

Some explanation of what's happening here:
1. The link for the author gets focused in step 4 as a result of you moving the browse mode cursor.
2. As you move forward by line, NVDA scrolls the accessible associated with that line into view.
3. Eventually, the link focused in step 4 gets scrolled off the screen, but it's still focused.
4. Chrome kills the accessible for the focus and creates a new one. It then has to fire a new focus event, since the old accessible died.
5. NVDA gets that focus event and moves the browse mode cursor to that accessible. Even though it's actually the same link and really the focus hasn't changed, NVDA doesn't know this because it's a different accessible.
6. Unfortunately, this means the user gets to cursor around in loops. :(

This doesn't occur everywhere. I suspect the issue is related to the fact that part of the screen stays fixed while the comments area scrolls. However, despite playing with position: fixed, I unfortunately wasn't able to isolate this behaviour in a simple test case, even though the scrolling behaviour looked similar.

Firefox has similar problems with certain CSS stuff causing accessibles to be regenerated, though this particular case doesn't seem to affect Firefox.

Originally reported as NVDA issue: https://github.com/nvaccess/nvda/issues/6405
 

Comment 1 by nek...@chromium.org, Sep 26 2016

Cc: ellyjo...@chromium.org
Labels: OS-Mac OS-Windows
Status: Available (was: Untriaged)
I think that we are seeing similar behavior on the Mac.
@ellyjones, could you have this in mind when looking into the in-page linking issue?
Labels: NewComponent-Accessibility NewComponent-Accessibility-Compatibility
Components: UI>Accessibility>Compatibility
Components: -UI>Accessibility
Labels: -newcomponent-accessibility-compatibility -newcomponent-accessibility
Labels: -Pri-3 Pri-2

Comment 6 by nek...@chromium.org, Nov 14 2017

Cc: -ellyjo...@chromium.org nek...@chromium.org
Owner: ----

Comment 7 by nek...@chromium.org, Dec 11 2017

Owner: nek...@chromium.org
Status: Started (was: Available)

Comment 8 by nek...@chromium.org, Dec 12 2017

Status: WontFix (was: Started)
Sorry I can't reproduce this with latest Canary.
Version 65.0.3292.0 (Official Build) canary (64-bit)
NVDA 2017.4.

Sign in to add a comment