Commit a64ded0
committed
fix(material/chips): make focus overlay not affect text color (#25892)
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.
(cherry picked from commit 29f6b6b)1 parent dc4e451 commit a64ded0
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