Closed Bug 1949678 Opened 1 year ago Closed 1 year ago

Keyboard focus trapped on Shift+Tab when a popover is open

Categories

(Core :: DOM: Core & HTML, defect, P3)

Firefox 134
defect

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: mozilla.org, Assigned: edgar)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0

Steps to reproduce:

In Firefox (at least on Windows&Linux),
go to https://codepen.io/cssence/pen/RNwarvQ
click the "1 - Toggle Popover" button
press Shift+Tab repeatedly.

Actual results:

Keyboard focus is trapped in a loop, read
https://cssence.com/2025/popover-shift-tab-issue/
for more details.

Expected results:

There should be no limit to which interactive elements can be accessed, normal backwards moving behavior (same as e.g. in Chromium) should occur.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

asurkov, can you, please, take a look?

Severity: -- → S3
Flags: needinfo?(surkov.alexander)
Priority: -- → P3

I now have confirmation that the issue also occurs on Firefox for MacOS.

Redirect a needinfo that is pending on an inactive user to the triage owner.
:edgar, since the bug has recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(surkov.alexander) → needinfo?(echen)
Blocks: popover
See Also: → 1955857
Assignee: nobody → echen
Flags: needinfo?(echen)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8c2fc1b0de47 Need to check tabindex when handling sequential focus handling for popovers; r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/51659 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: