Issue metadata
Sign in to add a comment
|
Focus moves counter-intuitively when tabbing away from select boxes |
||||||||||||||||||||||
Issue descriptionWhat steps will reproduce the problem? (1) Go to http://tinyurl.com/csunatc18-cgi (2) Go to "Trouble with drop down lists" (3) Using the keyboard, choose a value in the "rooms" list, but DO NOT use "enter" to confirm selection (4) Use the Tab key to confirm selection and move focus away What is the expected result? - The newly visible "Adults" drop down should be focused What happens instead? - The "Back to top" link is focused. The focus move is happening before the "onchange" event for the select box fires, so focus skips over the content which is made visible by the change in the select box value
,
Apr 3 2018
Dear aboxhall, I can not reproduce this issue in latest chromium and official chrome browser in ubuntu. Could you explain more detail how can we reproduce it?
,
May 31 2018
None of Chrome, Firefox, and Edge work as aboxhall@'s expectation.
This doesn't work with a simple case like the following:
<input onchange="my_add()" autofocus>
<script>
function my_add() {
document.body.appendChild(document.createElement('input'));
}
</script>
because sequential focus navigation determines next focusable area first, then blurs the current focusable area, the blur processing dispatches 'change' event, then we focus on the found next focusable area.
,
Jun 11 2018
Change status to ExternalDependency because we need to change the HTML specification. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by aboxhall@chromium.org
, Mar 23 2018