Closed Bug 1935178 Opened 1 year ago Closed 1 year ago

Add a test for Tab keyboard navigation

Categories

(DevTools :: Shared Components, task)

task

Tracking

(firefox-esr128 unaffected, firefox133 unaffected, firefox134 unaffected, firefox135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox133 --- unaffected
firefox134 --- unaffected
firefox135 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(2 files, 1 obsolete file)

See screenshot
The focus indicator should only really be visible on the active tab, since using the Tab key will move outside of the tab strip, and the arrow keys can be used to select the next/previous tab automatically

This was regressed by Bug 1810427. I'm going to investigate

Keywords: regression
Regressed by: 1810427

Set release status flags based on info from the regressing bug 1810427

:ff2400t, since you are the author of the regressor, bug 1810427, could you take a look?

For more information, please visit BugBot documentation.

Use data-tab-index attribute instead of is-active class in selector.
Add test case to check that the keyboard shortcut does work and moves
the focus to the appropriate tab.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED

We're doing something similar in the markup view already.

Attachment #9442156 - Attachment description: Bug 1935178 - [devtools] Prevent :focus-visible style to be apply on Tabs when they're clicked. r=#devtools. → Bug 1935178 - [devtools] Prevent :focus-visible style to be applied on Tabs when they're clicked. r=#devtools.

Bug 1810427 was backed out, but let's keep this bug to add a test

Type: defect → task
Flags: needinfo?(ff2400t)
Keywords: regression
No longer regressed by: 1810427
Summary: Tabs focus style is acting weird → Add a test for Tab keyboard navigation
Attachment #9442155 - Attachment description: Bug 1935178 - [devtools] Fix Tabs focus. r=#devtools. → Bug 1935178 - [devtools] Add test for Tabs keyboard navigation. r=#devtools.

Comment on attachment 9442156 [details]
Bug 1935178 - [devtools] Prevent :focus-visible style to be applied on Tabs when they're clicked. r=#devtools.

Revision D231391 was moved to bug 1936201. Setting attachment 9442156 [details] to obsolete.

Attachment #9442156 - Attachment is obsolete: true
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/60c45c17a7c4 [devtools] Add test for Tabs keyboard navigation. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: