Accessibility
The template is built to meet the Web Content Accessibility Guidelines (WCAG) 2.2, level AA. The template does part of the work. Your content and your settings do the rest.
What the template does
- A “Skip to main content” link is the first item on every page.
- The page has landmarks (header, navigation, main, complementary sidebar, footer) for screen reader users.
- The menus work with a keyboard. Tab moves into a dropdown menu, and Escape closes it. On small screens, the menu opens with the Menu button.
- Every link and button shows a visible focus outline.
- Touch targets are at least 24 by 24 pixels, and most are 44 pixels tall.
- The “In this section” groups use standard disclosure controls that screen readers announce.
- Search results are announced to screen reader users.
- Icons are hidden from screen readers. The search button has a text label.
- The text can be zoomed to 200% and the layout works at 320 pixels wide.
- The Quick Exit button has hidden text that says what it does.
What you check
When you write a page
- Use headings in order. The page title is the only level-1 heading. Start sections with
##, and use###inside them. - Make link text say where the link goes. Do not use “click here” or a bare web address.
- Give every image a text description (alt text). If an image is only decoration, use an empty description:
. - Videos need captions. Audio needs a transcript.
- Write in plain language. Explain legal words, or link to the Legal Terms Defined page.
- Do not use color alone to show meaning.
- Use a real table only for data, with a header row.
When you change the colors or fonts
- Check every text and background pair. See Change the colors and fonts.
Before you publish
- Use only the keyboard to open every menu and get to every link on the home page, a topic page, and the search page.
- Zoom the browser to 200%. Check that no text is cut off.
- Make the browser 320 pixels wide. Check that you can still use the menu and read the pages.
- Test with a free checker, such as WAVE or the axe DevTools browser extension.
- If you can, test with a screen reader: VoiceOver (Mac), NVDA (Windows), or TalkBack (Android).