Accessibility Design Guidelines:
Colour Contrast
The colour palette that you apply to your website will determine how well a visitor can percieve the content. People with low vision, colour blindness and other vision impairments are affected by the colour contrast between foreground and background elements. Some users will have difficulty distinguishing buttons, text, links and other website elements if the colour contrast is too low.
A designer can help make website content AODA compliant by following the Web Content Accessibility Guidelines 2.0 AA which specify that, the visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except for the following:
NOTE: In order to make a website even more accessible, designers can refer to the Success Criterion, "1.4.6 Contrast (Enhanced) Level AAA " which requires a contrast ratio of at least 7:1 for normal text and 4.5:1 for large text or bold text. However, this is not yet a requirement to meet in Ontario in order to be AODA compliant.
Source: Photo by Josh Calabrese on Unsplash
"The minimum contrast Success Criteria (1.4.3) applies to text, including placeholder text, text in images, text displayed when hovering over an object or when an object has keyboard focus. If any of these are used in a page, the text needs to provide sufficient contrast."
Designers can implement styling techniques that target certain CSS properties such as line-height, font-size, color, background-color, border, etc. to make websites accessible.
The colours used for this website meet the WCAG 2.0 AA guidelines that are appropriate for their usage.
AA
Hex #153241
AA
Hex #c3690b
AA
Hex #333333
AA
Hex #d5d5d5
Click on the icons below to reveal the corresponding WCAG Success Criteria
If the background is a solid color (or all black or all white) then the relative luminance of the text can be maintained by making sure that each of the text letters have 4.5:1 contrast ratio with the background.
If the background or the letters vary in relative luminance (or are patterned) then the background around the letters can be chosen or shaded so that the letters maintain a 4.5:1 contrast ratio with the background behind them even if they do not have that contrast ratio with the entire background. Text that is decorative and conveys no information is excluded. [Ref. www.w3.org]
Read about the Success Criterion 1.4.3: Contrast (Minimum) here."The intent of Success Criterion 1.4.3 is to provide enough contrast between text and its background so that it can be read by people with moderately low vision.
To meet Level AA, small text must have a contrast ratio of at least 4.5:1 (or 3:1 for large text).
NOTE: Small text is defined as 14 pt (18.66px) or smaller. Large text is defined as 18 pt (24px) or larger."
Fails WCAG 2.0 AA with colour contrast RATIO: 1.42
Passes WCAG 2.0 AA with large-scale text over 18pts (24px)
Passes WCAG 2.0 AA with colour contrast RATIO: 4.95
Passes WCAG 2.0 AA with large-scale text over 18pts (24px)
This example refers to the WCAG 2.0 AA color contrast guidelines in links, buttons and text used on webpages. Boldface and underlined links are more visible to users with low vision. Apply well-contrasting colors by placing light text against dark backgrounds or vise versa.
"The minimum contrast Success Criterion 1.4.3: Contrast (Minimum) applies to text in the page, including placeholder text and text that is shown when a pointer is hovering over an object or when an object has keyboard focus. If any of these are used in a page, the text needs to provide sufficient contrast."
example pop up icon
Enjoy floral bouquets with our unique collection of florals. Our flower catalogue features a variety of arrangements.
BUY NOWThis example refers to the WCAG 2.0 AA color contrast guidelines in links, buttons and text used on webpages. Boldface and underlined links are more visible to users with low vision. Apply well-contrasting colors by placing light text against dark backgrounds or vise versa.
"The intent of Success Criterion (1.4.1) is to ensure that all users can access information that is conveyed by color differences, where each color has a meaning assigned to it. Examples of information conveyed by color differences: using highlighting on form fields to indicate that a required field had been left blank."