Closed
Bug 1901713
Opened 2 years ago
Closed 2 years ago
Container query "Jump to container node" button is not keyboard accessible
Categories
(DevTools :: Inspector: Rules, defect)
DevTools
Inspector: Rules
Tracking
(firefox129 fixed)
RESOLVED
FIXED
129 Branch
| Tracking | Status | |
|---|---|---|
| firefox129 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
// We can't use a button, otherwise a line break is added when copy/pasting the rule
const jumpToNodeButton = createChild(selectorContainer, "span", {
class: "open-inspector",
role: "button",
title: l10n("rule.containerQuery.selectContainerButton.tooltip"),
});
I didn't use a button initially because it was adding a line break when copy/pasting the rule, but this can be handled with a CSS property, so let's have a proper button!
| Assignee | ||
Updated•2 years ago
|
Summary: Use proper button for "Jump to container node" → Container query "Jump to container node" button is not keyboard accessible
| Assignee | ||
Comment 1•2 years ago
|
||
The button can now be focus and activated with the keyboard.
This allows us to remove one fail-if annotation in associated test.
Updated•2 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8d41ba2e0cd6
[devtools] Turn container query jump to node icon into a proper button. r=devtools-reviewers,ochameau.
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox129:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•