Check accessibility

The theme is tested for WCAG 2.2 AA and BITV 2.0; your content is not. How to check pages and patterns, publish an accessibility statement and offer easy language.

For site owners, editors and agencies · Checked with Leitvia 1.2.69 and Leitvia Studio 1.3.65

What you check yourself

  • An alternative text (a short description for people who cannot see the image) for every image that carries information.
  • One h1 per page and no skipped heading levels.
  • Link texts that make sense on their own.
  • Captions for every video with speech.

Check a pattern

Check a pattern before you use it on many pages. The Pattern Lab is part of Leitvia Studio and runs axe, a common accessibility test, on its preview at 390, 782 and 1440 pixels.

  1. Open Leitvia Studio › Pattern Lab and open a pattern.
  2. Choose Run accessibility check.
  3. Read the results under Accessibility and fix what they name.

The pattern list shows the result of the last check in the column Checks.

The detail of a pattern in the Pattern Lab with its preview and the choice of style variation and viewport.
A pattern in the Lab, with its preview.
The section Accessibility of a pattern in the Pattern Lab after Run accessibility check, with the results for the widths 390, 782 and 1440 pixels.
The result of Run accessibility check.

Check the whole site

The same checks run on all published content: headings, alternative texts, link texts, contrast, one h1 and landmarks. Ask your AI agent for an audit, or run it with WP-CLI as an administrator:

wp leitvia audit --user=admin

Agencies see the result of every client site in the fleet. Audit a site explains the report.

Publish an accessibility statement

  1. Open Pages › Add Page.
  2. In the dialog with the starter patterns, choose Accessibility statement.
  3. Fill in the parts in brackets: the state of compliance, what is not accessible, how the statement was made, contact and the enforcement procedure.
  4. Choose Publish and link the page in the footer.
The dialog Choose a pattern of a new page with the pattern Accessibility statement: headings Compliance status, Content that is not accessible, How this statement was prepared, Feedback and contact and Enforcement procedure.
The starter pattern for the accessibility statement.

Offer easy language

Easy language is a simple version of a text, with short sentences, for people who read with difficulty. You write it as a second page and link the two.

  1. Create a new page and choose the template Page in easy language in the sidebar, tab Page.
  2. In the same tab, open the panel Easy language and choose the original page under This page is the easy language version of.
  3. Add the block Easy language switch to both pages.
  4. Publish both pages.

The switch now links each page to the other version. The panel and the block come with Leitvia Studio.

The block editor of a page with the sidebar tab Page and the open panel Easy language with the field This page is the easy language version of.
The panel Easy language links a page to its original.