cms
cms copied to clipboard
Add high-contrast indicator to active sidebar item
Description
Resolves DEV-372. Also fixes left sidebar edge going offscreen on small screen sizes.
Related issues
DEV-372 Active sidebar button does not meet minimum contrast requirements
Active state has a 1.28:1 contrast ratio for the outline applied to the button
Adding a border of 1px solid #6C84A7 on the selected state would give this component an acceptable contrast in comparison with the other sidebar items
Screen Shot 2022-03-18 at 2.44.38 PM.png
Resolves CMS-063
Wasn’t loving the added indicator strips—they felt a little too noisy—so went with making the entire active nav items high-contrast instead: