Issue/Question
Under the Accessibility Final Checks I receive the Serious Problem:
Elements must meet minimum color contrast ratio thresholds
Environment
Cause
Final Checks evaluate all code on a page and detect accessibility issues not meeting WCAG 2.0 (Level AA) standards.
It detected the page has some text that is using a color that does not have enough contrast for users that may be visually impaired to see. A person with low vision or color blindness is unable to distinguish text against a background without sufficient contrast. Text that is too close in brightness to the background can be hard to read.
This can be caused by using a color in the WYSIWYG drop down or pasting content in from a text editor like Microsoft Word.
Resolution
Ensure all text elements have sufficient color contrast between the text in the foreground and background color behind it. Remove the inaccessible colors and use the styles dropdown or another appearance like an alert snippet.
- Click Yellow Light Bulb to check out page.
- Click Edit tab.
- Click Edit button on the content area where the heading is located.
- Highlight text that was identified in the Source Code section for page check.
- In the WYSIWYG toolbar, click the Clear Formatting button to remove any styles.
- Use the Styles dropdown to select an accessible color or use another style.
- Save page.
- Click Publish button to run accessibility final check again. Repeat for all landmarks. When the issue is resolved it will no longer display in the accessibility check.