- Success Criterion 1.4.11
- Conformance level AA
Custom Scrollbar With Contrast Too Low to Locate
1.4.11 — Non-text Contrast
Scenario
Setting
A music streaming app's playlist screen
What’s wrong
Custom scrollbars users must locate <3:1.
Example
border: 1px solid #dcdcdc; /* icon outline, ~1.2:1 against white */ Why it matters
Low-vision and color-blind people who need to perceive controls and meaningful graphics.
How to test
Measure a custom-styled scrollbar against the page background: users need to be able to visually locate it at 3:1.
How to fix
The visual element (border, icon, indicator, state marker) must have at least 3:1 contrast against adjacent colors in every state. border: 1px solid #767676; /* ~4.5:1 */ Icons, borders, and other non-text UI elements need at least 3:1 contrast to stay visible.
Outcome
On a music streaming app's playlist screen, this barrier is gone for low-vision and color-blind people who need to perceive controls and meaningful graphics — they get the same result as anyone else here.
Who is affected
Low-vision and color-blind people who need to perceive controls and meaningful graphics.
Learn more
- Understanding Understanding document (opens in a new tab)
Related scenarios
- Focus Outline Removed With No Replacement Indicator
- Input Field Border With Contrast Too Low to See
- Checkbox or Radio Outline Too Faint When Unchecked
- Toggle Switch States Too Similar in Color to Tell Apart
- Focus Indicator Present but Below the Contrast Minimum
- Icon-Only Button Glyph With Contrast Too Low to See