lost focus from sidebar after close Edit Bookmark dialog. Unable to move focus with keyboard arrow key
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
People
(Reporter: alice0775, Assigned: sefeng)
References
(Regression)
Details
(Keywords: access, nightly-community, regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
Steps to reproduce:
- Open Sidebar
- Focus a bookmark item with keyboard
- Press Shift+F10 to open context menu
- Choose
Edit Bookmark
to open Edit Bookmark dialog. And press ESC to close it - Try to move selection of bookmark item with keyboard arrow key
Actual results:
Unable to move focus next/previous item with keyboard arrow key
Expected Results:
Focus should go back to where it came from.
And able to move focus next/previous item with keyboard arrow key
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f412f38f5b6c938db981e49c1dea24f36df093f9&tochange=f41311ee4ade08929b1224c893ccf12993d32ead
Comment 1•1 year ago
|
||
:sefeng, since you are the author of the regressor, bug 1811129, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Reporter | ||
Comment 2•1 year ago
|
||
[Tracking Requested - why for this release]: Lost focus. it could trap keyboard-only users.
Updated•1 year ago
|
Comment 3•1 year ago
|
||
The bug is marked as tracked for firefox120 (nightly). We have limited time to fix this, the soft freeze is in 9 days. However, the bug still isn't assigned.
:hsinyi, could you please find an assignee for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 4•1 year ago
|
||
I am looking at this.
Updated•1 year ago
|
Comment 5•1 year ago
|
||
Confirmed with today's Nightly.
:sefeng, it looks like the focus is placed on the sidebar's frame/grouping instead of the control that triggered the modal to appear. Just in case, this is the expected keyboard behavior for modal dialogs described by W3C WAI. Thank you for looking at this!
Assignee | ||
Comment 6•1 year ago
|
||
Updated•1 year ago
|
Comment 7•1 year ago
|
||
:sefeng could you set a severity on this?
We can aim to include this in a dot release for Fx119
Assignee | ||
Comment 8•1 year ago
|
||
Yeah, let's aim that. I am doing the last try push before landing the patch
Comment 11•11 months ago
|
||
bugherder |
Updated•11 months ago
|
Comment 13•11 months ago
|
||
The patch landed in nightly and beta is affected.
:sefeng, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox120
towontfix
.
For more information, please visit BugBot documentation.
Comment 14•11 months ago
|
||
Backed out for causing Bug 1861451.
- backout: https://hg.mozilla.org/integration/autoland/rev/40f8ad7cb46ee58e761f16c12d5b1b1eaa55e7c1
- push: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&searchStr=linux%2C18.04%2Cx64%2Cwebrender%2Copt%2Cmochitests%2Cwith%2Cnetworking%2Con%2Csocket%2Cprocess%2Ctest-linux1804-64-qr%2Fopt-mochitest-browser-chrome-spi-nw%2Cbc5&revision=630864299a197bf416ac18d405063b7ec40c3644
- failure log: https://treeherder.mozilla.org/logviewer?job_id=433897142&repo=autoland&lineNumber=9120
[task 2023-10-26T14:37:29.073Z] 14:37:29 INFO - TEST-PASS | browser/components/places/tests/browser/browser_default_bookmark_location.js | checking if popup is closed -
[task 2023-10-26T14:37:29.073Z] 14:37:29 INFO - Buffered messages finished
[task 2023-10-26T14:37:29.074Z] 14:37:29 INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_default_bookmark_location.js | Test timed out -
[task 2023-10-26T14:37:29.074Z] 14:37:29 INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-10-26T14:37:29.075Z] 14:37:29 INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_default_bookmark_location.js | Uncaught exception received from previously timed out test bound test_context_menu_link - subdialog-loaded observer not removed before the end of test
[task 2023-10-26T14:37:29.075Z] 14:37:29 INFO - Entering test bound test_change_location_panel
[task 2023-10-26T14:37:29.076Z] 14:37:29 INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-10-26T14:37:29.077Z] 14:37:29 INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_default_bookmark_location.js | Uncaught exception received from previously timed out test bound test_change_location_panel - at chrome://mochitests/content/browser/browser/components/places/tests/browser/head.js:481 - TypeError: can't access property "document", win is null
[task 2023-10-26T14:37:29.077Z] 14:37:29 INFO - Stack trace:
[task 2023-10-26T14:37:29.078Z] 14:37:29 INFO - clickBookmarkStar@chrome://mochitests/content/browser/browser/components/places/tests/browser/head.js:481:5
[task 2023-10-26T14:37:29.078Z] 14:37:29 INFO - test_change_location_panel@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_default_bookmark_location.js:150:9
[task 2023-10-26T14:37:29.079Z] 14:37:29 INFO - handleTask@chrome://mochikit/content/browser-test.js:1134:26
[task 2023-10-26T14:37:29.079Z] 14:37:29 INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18
[task 2023-10-26T14:37:29.079Z] 14:37:29 INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14
[task 2023-10-26T14:37:29.079Z] 14:37:29 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1123:14
[task 2023-10-26T14:37:29.079Z] 14:37:29 INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-10-26T14:37:29.080Z] 14:37:29 INFO - Not taking screenshot here: see the one that was previously logged
Updated•11 months ago
|
Comment 15•11 months ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/40f8ad7cb46e
Comment 19•11 months ago
|
||
:sefeng the scheduled 119 dot release goes to build on 2023-11-06 and goes live on 2023-11-07.
This is tracked for 119 since it's a recent regression impacting accessibility.
Are you on track for fixing this and requesting beta and release uplift?
Or, is there risk and we should at least aim to get a fix out in Fx120?
Comment 20•11 months ago
|
||
Comment 22•11 months ago
|
||
Comment 23•11 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6e6cd11123b7
https://hg.mozilla.org/mozilla-central/rev/c0dc436f3e96
Comment 25•11 months ago
|
||
Since there is a pending NI the bot won't add a comment about an uplift request.
:sefeng, adding a reminder about beta/release uplift requests depending on risk
Assignee | ||
Comment 26•11 months ago
|
||
Comment on attachment 9358361 [details]
Bug 1856109 - Allow <dialog> to move back to previously focused element even if they are in different BC r=emilio
Beta/Release Uplift Approval Request
- User impact if declined: User may experience unexpected <dialog> focusing behaviours. This is an regression and might be a bigger issue for accessibility users
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: STR is in the description of the bug
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is not risky because the code is relatively trivial. This is about moving the focus when <dialog> is closed, so technically speaking this is not one of those important core functionalities.
- String changes made/needed:
- Is Android affected?: Yes
Comment 27•11 months ago
|
||
Setting 119 to wontfix, discussed offline and it's safer to uplift this for beta and ride the train with Fx120
Comment 28•11 months ago
|
||
Comment on attachment 9358361 [details]
Bug 1856109 - Allow <dialog> to move back to previously focused element even if they are in different BC r=emilio
Approved for 120.0b7
Comment 29•11 months ago
|
||
uplift |
Updated•11 months ago
|
Updated•11 months ago
|
Comment 30•11 months ago
|
||
Verified as fixed on Firefox 121.0a1 (2023-11-06) Windows 10 x64 and on Ubuntu 20.04 x64.
Comment 31•11 months ago
|
||
Verified as fixed on Firefox 120.0b7 on Windows 10 x64 and on Ubuntu 20.04 x64.
Updated•11 months ago
|
Description
•