This repository has been archived by the owner on Jun 30, 2018. It is now read-only.
Adding issue #10 User Interface Component Contrast #128
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding the User Interface Component Contrast (Minimum) SC #10 (previously referred to as "interactive control contrast" plus one glossary term for immediate surrounding color(s).
Latest text:
User Interface Component Contrast (Minimum)
The visual presentation of
has a contrast ratio of at least 4.5:1 against the immediate surrounding color(s), except for the situations listed below:
Suggested Priority Level
Level AA
Glossary Item
the color(s) adjacent to the entire length of the outer perimeter of the element
What Principle and Guideline the SC falls within.
Principle 1, Guideline 1.4
Description
The intent of this success criterion is to apply the contrast requirements to essential graphical objects related to user interface components in a similar way that it is applied to text in 1.4.3 Contrast (Minimum).
Essential
If essential non-text information is needed to understand the state and/or functionality of the user interface component then it must be perceivable for people with low vision or color blindness.Thin and Thick
Graphical objects that are very thin are harder to perceive, therefore have a higher contrast requirement of 4.5:1. Graphical objects that are thicker or are solid shapes have a lower requirement of 3:1.
The size 3 CSS pixel for 'thick' was selected as it aligns with the large-text requirement of 1.4.3 Contrast (Minimum). See additional information about this concept at on how contrast and thickness were derived.
Sufficient Contrast Examples
For designers developing focus indicators, selection indicators and user interface components that need to be perceived clearly, the following are examples that have sufficient contrast.
@@examples for select, radio button, and checkbox to be added @@
Visual Focus Indicator Examples
with 3 CSS pixel stroke
See working examples at Accessible Visual Focus Indicators
with 1 CSS pixel stroke
See working examples at Accessible Visual Focus Indicators
Selection Indicator Contrast Examples
Text Input Examples
with 3 CSS pixel border stroke
with 3 CSS pixel border stroke on bottom only
with 1 CSS pixel stroke
with 1 CSS pixel border stroke on bottom only
Submit Button Examples
with 3 CSS pixel border
with 3 CSS pixel border
with 1 CSS pixel border
Recommended for Silver
Due to the different needs and preferences of low vision users, the contrast requirements for inactive user interface components (also known as disabled interactive elements) is recommended for inclusion in Silver. RECOMMEND adding an ARIA-status of "disabled" so automated testing tools can ignore. A solution to consider for Silver is to make it a preference to "enhance color contrast for Low Vision AND/OR add a symbol for "disabled interactive elements".'
Disabled Submit Button Example for Silver
Benefits
The intent of this Success Criterion is to provide enough contrast for interactive user interface components, form field borders, focus and selection indicators so they can be perceived by people with moderately low vision (who do not use contrast-enhancing assistive technology).
People with low vision often have difficulty perceiving graphics that have insufficient contrast. This can be exacerbated if the person has a color vision deficiency that lowers the contrast even further. Providing a relative luminance (lightness) difference of 4.5:1 or greater can make these items more distinguishable when the person does not see a full range of colors and does not use assistive technology.
When non-text content is larger, a color contrast of 3:1 or greater can be sufficient for perception by people with moderately low vision.
Examples
Testability
User Interface Component Border
For each user interface component or the essential border of each user interface component,
Expected Results
Focus Indicators
For each focus indicator:
Expected Results
Selection Indicators
For each selection indicator:
Expected Results
Testing with current browsers
Luminosity Brightness of Enabled/Disabled Form Controls using default browser styling
Techniques
Existing Relevant Techniques for 1.4.3
New Techniques
Related WCAG 2.0 Success Criteria and Techniques (2.4.7)
Related Information on LVTF wiki