The WCAG criteria that will be covered in this session include:
There are six criteria left to cover in 1.4. They cover the following topics:
For this part of the audit, you will need to:
The remaining criteria in WCAG 1.4 includes color contrast for interactable elements, images of text, text resizing, reflow, and tooltips. Below is each criterion, a brief explanation of it, how to test for it, and how to score it in your survey spreadsheet.
Text can be resized up to 200% without the use of assistive technology and without loss of content or functionality.
On all pages.
Understanding Success criterion 1.4.4
Use your browsers zoom feature to zoom in to 200%.
Scroll through the page content at 200% and make sure nothing is getting cut off or disappearing.
There should be no images of text if the same presentation can be provided using text and formatting alone. Logos with custom fonts can be contained in images without failing this criterion.
On all pages.
Understanding Success Criterion 1.4.5
The example below uses a custom font. However, the same presentation can be made using a similar font.
GreeNYC
Search for images of text on the page. If the image of text is used because it has a custom font, this criterion fails. If the image of text cannot be replicated because of the limitations of the platform, it passes. The hero on NYC.gov passes because it doesn’t allow users to customize or format their stories.
To find out if text is an image or not, try to select individual letters from the text. If you cannot, then it is most likely an image.
Exemptions include:
Content is presented in a single column so that only vertical scrolling is required. The point of this criterion is to enable users to magnify the content and not need to scroll left and right to read it. The text should wrap to the edge of the browser window.
On all pages.
Understanding Success Criterion 1.4.10
On desktop, set the browser’s zoom feature to 400%. Content should be in one column so that scrolling is vertical only.
Exceptions for this criterion include maps, data visualizations, and other content that requires a spatial layout (such as tabular data).
User interface controls and images have contrast ratio of 3:1. For example, buttons and edit fields need to be distinguishable.
Text links are considered text and fall under 1.4.3, but if underlined, the underline would be evaluated under this criterion. Also, image links are tested as part of this criterion.
On pages with form fields, image links, images (or parts of images) required to understand the content, and interactable content that is not text based.
Understanding Success Criterion 1.4.11
Measure contrast for user elements manually. This includes buttons and other form fields as well as images that are important to the content. Begin by opening the WebAIM Color Contrast Checker in a new tab.
Coming soon
Users should be able to adjust line height, letter and word spacing, and paragraph spacing without loss of content.
On all pages.
Understanding Success Criterion 1.4.12
Change spacing and make sure there is no loss of content.
Option 1: Change browser text settings to: line height of 1.5 em, spacing between paragraphs of 2 em, letter spacing tracking to 0.12 em, and word spacing to 1.6 em. Make sure there is no loss of content.
Option 2: Use the following bookmarklet to change spacing settings in your browser.
https://dylanb.github.io/bookmarklets.html
Some areas of the template such as programs and initiatives don’t do well when spacing is changed. Inside pages tend to do better with this criterion.
Custom tooltips and other pop ups have a mechanism to dismiss or allow users to continue viewing while hovering over the new content. Content that appears upon hovering should be dismissible, hoverable and persistent.
On pages with custom tooltips or content that appears on hover.
Understanding Success Criterion 1.4.13
Check the page for content that appears when the mouse hovers over an item. This excludes the content that appears by default from your browser because of a title tag. Examples of content on hover include custom tooltips that are specific to your website and help tips for filling out a form that appear when the mouse hovers over a question mark or help icon.
For custom tooltips and similar functionality, the content must be hoverable, dismissible, and persistent.
There are not a lot of places on nyc.gov where custom tooltips are used.
Continue testing and fill in WCAG 1.1.1 through 1.4.13 by the next session. For assistance, email Walei at wsabry@doitt.nyc.gov.