Open Bug 401019 Opened 17 years ago Updated 2 years ago

Can't tab through focusable elements in design mode iframe

Categories

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

x86
All
defect

Tracking

()

People

(Reporter: cpearce, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file Testcase
If you have a design mode iframe with 2 or more focusable elements in it (like a link, or a button) you cannot cycle the focus. You press tab and the focus enters the iframe, it focuses the first focusable correctly, but then subsequent tab presses you cannot move to focus the next focusable.

Steps to reproduce:

1. Load testcase.
2. Press tab until the first link1 in the iframe is focused.
3. Press tab again.
4. Note that link2 gets the focus.
5. Press tab, note that link3 does not get the focus.

Expected result: link3 should get the focus.

The problem here is that the search for the next focusable begins from the last selection/caret position. The caret is not moving with the focus, and so the search for the next focusable is beginning again from the caret at the start of  the iframe content.
Product: Firefox → Core
QA Contact: general → general
Component: General → Keyboard: Navigation
Keywords: testcase
QA Contact: general → keyboard.navigation
Blocks: 424615
Don't see any bug here. Links and form elements in designmode documents not being focusable is intentional behaviour.
Component: Keyboard: Navigation → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: