- 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
Here's a real case from a music streaming app's playlist screen: custom scrollbars users must locate <3:1.
Why it matters
Low-vision and color-blind people who need to perceive controls and meaningful graphics. Here, on a music streaming app's playlist screen, the result is they can't perceive part of the content because of how it's displayed.
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.
Outcome
After the fix, the same visitor to a music streaming app's playlist screen can now read the text clearly against its background.
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