Open Bug 1532965 Opened 5 years ago Updated 2 years ago

Focus does not shift correctly when tabbing through links that contain scrollable children

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

65 Branch
defect

Tracking

()

Tracking Status
firefox-esr60 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- fix-optional
firefox68 --- fix-optional

People

(Reporter: jamesowen, Unassigned)

References

Details

(Keywords: parity-chrome, parity-edge, regression)

Attachments

(2 files, 1 obsolete file)

Attached file test.html

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

Steps to reproduce:

Open the attached html file and tab through the content. It consists of 4 link elements, which each contain a div element that has some text in it. For the even elements, the div has a max-width of 100px, and the text overflow is hidden with ellipsis.

Actual results:

The first element can be tabbed to successfully, but then the focus becomes stuck on the second element, alternating between the link and the containing div (the text will cycle from black to red). The third link cannot be reached.

Expected results:

The text in each div changes to black in turn as each containing link gains focus

Its probably worth noting that this works as expected in chrome, chromium, IE and edge.

Component: Untriaged → Keyboard: Navigation
Product: Firefox → Core

ellipsis is not necessary to reproduce the problem.

Overflowed div with overflow:auto/hidden inside focus-able element will cause the problem.

Status: UNCONFIRMED → NEW
Ever confirmed: true
See Also: → 1069739

this is regressed since Firefox4.

Attachment #9048848 - Attachment is obsolete: true
Blocks: 570275
Has Regression Range: --- → yes
Has STR: --- → yes
Summary: Focus does not shift correctly when tabbing through links that contain ellipsised text → Focus does not shift correctly when tabbing through links that contain scrollable children
Priority: -- → P3
Component: Keyboard: Navigation → User events and focus handling

Hsin-Yi, do you think this might make a good first bug?

Flags: needinfo?(htsai)

(In reply to Liz Henry (:lizzard) (use needinfo) from comment #5)

Hsin-Yi, do you think this might make a good first bug?

Already taking via email. :)

Flags: needinfo?(htsai)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: