-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: A11y
-
Tags:
-
Sprint:UI - 2022-12, UI COOLDOWN - 2022-12
The state of an ACTIVE user interface component does not have at least a 3 to 1 luminosity contrast ratio with either the inner or outer adjacent background.
Element Name: List box
Location: In Search Results (main region) of the page.
How to reach to 'Search Results' page:
In main region of the page, after
Clicking “Search” icon in left nav. Enter a search term like “Test” or “iron mountain”. Select Search and observe that a page that comes up, i.e. Search results with “grid view”.
Selected state is not having min luminosity ratio on the list items of the list box.
Contrast details:
Focus indicator color: #EDEDED
Surrounding color: #FFFFFF
Ratio: 1.2:1
Recommendation to fix
RULE :
The visual state of an active user interface component MUST have sufficient contrast of 3 to 1 with the adjacent background. Exceptions exist.
HOW TO FIX:
Fix this issue by adjusting the visual focus indicator or state indicator (e.g. selected, checked, pressed, etc.) of the user interface component and/or background to increase the contrast with either the inner or outer adjacent background to at least 3 to 1.
REFERENCE:
WCAG Understanding document: https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast
BACKGROUND:
People who have low vision or are colorblind may have difficulty perceiving that an element is interactive or what its state is - e.g. whether it has keyboard focus, is selected/checked/pressed, etc. - if the contrast between the element boundaries and/or state indicators and its background or adjacent colors is insufficient. When an interactive element's visual boundaries and state indicators have adequate contrast, people who have low vision or are colorblind are more likely to be able to perceive which elements on the screen are interactive and what their current state is.