Skip to content

Commit 8f37bc0

Browse files
Jayson ChenDevtools-frontend LUCI CQ
authored andcommitted
Add background color to Force specific element state button when focused
https://imgur.com/a/PicsDQn Adding background color to force specific element state button so it's visible when it's focused for accessibility purpose. Bug: 407812148 Change-Id: Idded70a4b1cffa4a7d481af4ccdc6fadf35ec678 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6423126 Reviewed-by: Simon Zünd <[email protected]> Reviewed-by: Jack Franklin <[email protected]> Commit-Queue: Jack Franklin <[email protected]>
1 parent df78609 commit 8f37bc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

front_end/panels/elements/elementStatePaneWidget.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@
4545
grid-template-columns: repeat(2, 1fr);
4646
margin-bottom: 4px;
4747
}
48+
49+
.force-specific-element-header:focus {
50+
background-color: var(--sys-color-state-hover-on-subtle);
51+
}

0 commit comments

Comments
 (0)