Commit 39d0c7f
committed
Fix: A/B slot toggle had no visible active state
The button rendered class.active but not the data-slot attribute the CSS
selector keyed off (.slot-btn[data-slot="A"].active), so the colored
background never applied and both buttons looked identical. Add data-slot
+ aria-pressed for assistive tech.1 parent e293ba1 commit 39d0c7f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments