Skip to content

Commit aee15ed

Browse files
pfaffeDevtools-frontend LUCI CQ
authored andcommitted
[a11y] Show a visile focus outline when stepping through the styles tab
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]>
1 parent 6814017 commit aee15ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

front_end/panels/elements/stylePropertiesTreeOutline.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,3 +296,7 @@ devtools-icon.open-in-animations-panel {
296296
color: var(--icon-css-hover);
297297
}
298298
}
299+
300+
.value :focus {
301+
outline: 1px solid var(--sys-color-outline);
302+
}

0 commit comments

Comments
 (0)