Skip to content

Commit c0a5bfb

Browse files
committed
fix(aria/toolbar): show outline on selected items when forced colors active
1 parent f27562c commit c0a5bfb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/components-examples/aria/toolbar/toolbar-common.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,11 @@
185185
.example-option[aria-selected='false'] .example-option-icon {
186186
visibility: hidden;
187187
}
188+
189+
@media (forced-colors: active) {
190+
.example-button[aria-pressed='true'],
191+
.example-button[aria-checked='true'],
192+
.example-option[aria-selected='true'] {
193+
outline: solid 2px;
194+
}
195+
}

0 commit comments

Comments
 (0)