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

Issue 594613 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug
Team-Accessibility



Sign in to add a comment

Sequential Focus Navigation Start Point should always follow element programmatically scrolled into view

Project Member Reported by aboxhall@chromium.org, Mar 14 2016

Issue description

Version: m50

What steps will reproduce the problem?
(1) Navigate to https://html.spec.whatwg.org/multipage/webappapis.html#webappapis
(2) Search for "responsible browsing context". The first result should be scrolled to the top of the page: https://html.spec.whatwg.org/multipage/webappapis.html#responsible-browsing-context
(3) Note that there is a link in the paragraph immediately following, which it would be convenient to tab to.
(4) Hit <escape> to close the find in page dialog; page remains scrolled to the same element.
(5) Hit <tab> to attempt to move focus to link.

What is the expected output? What do you see instead?

Expected: focus moves to link.
Actual: focus moves to the first focusable element after the fragment which was initially navigated to.

I would propose that scrollIntoView() should also cause the start point to be set.

cf.  bug 454172 
 

Comment 1 by tkent@chromium.org, Mar 14 2016

Cc: kochi@chromium.org
> I would propose that scrollIntoView() should also cause the start point to be set.

It makes sense.  I think it would have no compatibility risk.
kochi@, what do you think?

Comment 2 by kochi@chromium.org, Mar 18 2016

Owner: kochi@chromium.org
Status: Assigned (was: Untriaged)
The proposal is about JS API Element.scrollIntoView()
or some Blink's internal function scrollIntoView(), or both?

The find-in-page widget runs some native code to get the search text
selected and scroll into view and does not use JS API directly,
though this is an implementation detail.

Probably we want both.
Cc: rbyers@chromium.org
Related discussion https://github.com/whatwg/html/issues/834#issuecomment-194017739

Comment 4 by kochi@chromium.org, Mar 22 2016

Status: Started (was: Assigned)

Comment 6 by kochi@chromium.org, Mar 23 2016

Status: Fixed (was: Started)
Components: Blink>HTML>Focus
Components: -Blink>Focus

Sign in to add a comment