Skip to content

Commit

Permalink
[a11y] Show a visile focus outline when stepping through the styles tab
Browse files Browse the repository at this point in the history
The styles tab supports keyboard navigation over interactive controls.
Currently this is invisible so this CL is adding a focus outline.

Bug: 396311936
Change-Id: I5169639f1f8977fd7a3f0db2b9dd3cc17de4bdb9
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6286010
Reviewed-by: Changhao Han <[email protected]>
Commit-Queue: Philip Pfaffe <[email protected]>
  • Loading branch information
pfaffe authored and Devtools-frontend LUCI CQ committed Feb 21, 2025
1 parent 6814017 commit aee15ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions front_end/panels/elements/stylePropertiesTreeOutline.css
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,7 @@ devtools-icon.open-in-animations-panel {
color: var(--icon-css-hover);
}
}

.value :focus {
outline: 1px solid var(--sys-color-outline);
}

0 comments on commit aee15ed

Please sign in to comment.