Commit 6dc3476
committed
fix(material/chips): make focus overlay not affect text color
Make focus overlay not affect the text color.
Give the text label a higher z-index than the focus overlay to ensure
that it does not affect the text color. Material spec requires that
state layer does not interfere with text color.
Fix issue where focus overlay would be on top of the text and darken the color
of the text. This is a deviation from spec and causes a11y issues due to
insufficient text contrast.1 parent 1f62724 commit 6dc3476
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
256 | 261 | | |
257 | 262 | | |
258 | 263 | | |
| |||
0 commit comments