Skip to content

Checks and fixes

Stacko Accessibility checks content in two ways:

  1. Live checks in the block editor. They read your blocks as you type and take a few milliseconds.
  2. Page checks of the rendered page, with your theme. They run in the editor’s Full page check, in the front-end panel and in the site check. They use axe-core, an open-source accessibility engine, plus Stacko’s own rules for common WordPress content problems.

Every issue has one of three levels:

Level Meaning
Must fix Blocks people from using the content. In page checks, these are problems axe-core rates as critical or serious.
Should fix Makes the content harder to use. In page checks, these are moderate or minor problems.
Check manually The tool found something it can’t decide on its own, so a person needs to look at it.

Each level is always shown with an icon and a word, not by colour alone.

These checks run on core blocks while you write.

Check Blocks Level One-click fix
Image has no alt text Image Must fix Add alt text or Decorative
Alt text is a file name, such as IMG_1234.jpg or DSC0042 Image Must fix Add alt text
Alt text starts with “image of”, “photo of” and similar Image Should fix Remove “image of”
Alt text is longer than 150 characters Image Should fix Add alt text (rewrite)
Alt text repeats the caption Image Should fix Add alt text (rewrite)
Heading is empty Heading Must fix None. Add text or remove the heading.
Second H1 on the page (the post title is already the H1) Heading Should fix Change to H2
Heading skips a level, for example H4 after H2 Heading Should fix Change to Hn (one level below the previous heading)
Link has no text Paragraph, List item, Heading, Quote, Table Must fix Rewrite link text
Link text doesn’t say where it goes, such as “click here” or “read more” Paragraph, List item, Heading, Quote, Table Must fix Rewrite link text
Link opens a new tab without warning Paragraph, List item, Heading, Quote, Table Should fix Add warning or Open in same tab
Button has no text, or vague text Button Must fix Rewrite button text
Table has no header row (two or more rows) Table Should fix Use first row as header
Video or audio plays automatically Video, Audio Must fix Turn off autoplay
Long paragraph in capital letters Paragraph Should fix None

The link checks also run on links inside table cells, but the one-click link fixes are only offered for paragraphs, list items, headings and quotes.

Vague link and button text is recognised in English, German, French, Spanish, Italian, Dutch, Portuguese, Polish, Swedish, Danish, Norwegian, Finnish and Bengali.

The live checks assume your theme shows the post title as the H1, so headings in your content should start at H2.

Page checks look at the rendered HTML in a real browser, so they also cover your theme, page builder output, colours and layout.

Page checks run the axe-core rules that match your chosen standard, plus axe-core’s best-practice rules if Include best-practice checks is on. These include, for example:

  • colour contrast of text
  • names for links, buttons, images and form fields
  • form labels
  • document language and page title
  • valid ARIA roles and attributes
  • landmarks and page structure
  • touch target size (WCAG 2.2)

If you choose WCAG 2.2 AAA, AAA rules are added too, such as enhanced contrast (7:1).

Stacko skips one known false result: the skip link that WordPress core adds to block themes is reported by axe-core as content outside a landmark. That placement is intentional, so the result is hidden.

These rules always run, whatever standard you choose.

Rule What it catches Level WCAG
Alt text is a file name Alt text that ends in an image file extension, or looks like a camera or screenshot name Must fix 1.1.1
Alt text is longer than 150 characters Very long alt text Should fix 1.1.1
Alt text starts with “image of” Alt text that starts with “image of”, “photo of”, “picture showing” and similar Should fix 1.1.1
Alt text repeats the caption An image in a figure whose alt text is the same as its caption Should fix 1.1.1
Link text does not say where it goes Links named only “click here”, “read more”, “here” and similar, in the languages listed above. Links with aria-describedby pass. Must fix 2.4.4
File link does not say it is a file Links to PDF, Word, Excel, PowerPoint, ODT, ODS, ZIP or RAR files whose text mentions neither the file type nor “download” Should fix 2.4.4
Link opens a new tab without warning target="_blank" links whose name doesn’t mention a new tab or window Should fix 3.2.5
Heading level is skipped A heading more than one level below the heading before it. This replaces axe-core’s own heading-order rule. Should fix 1.3.1
Page has more than one H1 More than one h1 on the page Should fix 1.3.1
Long text in capital letters Paragraphs, list items, table cells or quotes of 4 or more words in capital letters, including text styled with CSS text-transform: uppercase Should fix none
Video plays automatically without controls A video element with autoplay and no controls Must fix 2.2.2
Table has no header cells A table with two or more rows and no header cells, unless it has role="presentation" Should fix 1.3.1

The editor’s full check and the site check test each page at 1280 px and 375 px wide. If an issue appears at only one width, it is tagged Desktop only or Mobile only. The front-end panel checks at your current window width.

Issues inside the main content area count as page content. Issues in the header, footer, navigation, sidebars or template parts outside the main content are site-wide. A site-wide issue is the same on every page, so it is shown once, with the number of pages it appears on. Fix it once and it is fixed everywhere.

If you turn off Check header, footer and navigation in settings, site-wide issues are skipped.

Fixes in the editor change the block through the normal block editor, so:

  • Undo works, and the sidebar also offers Undo after a fix.
  • Nothing is saved until you save the post, and saving creates a normal revision.
Fix What it changes
Add alt text Sets the image block’s alt text to what you type
Decorative Clears the alt text and marks the image as decorative, so it is no longer reported
Remove “image of” Removes the redundant phrase from the start of the alt text
Change to Hn Changes the heading block’s level
Rewrite link text Replaces the text of that link with what you type
Add warning Adds visually hidden “(opens in a new tab)” text to the link, for screen reader users
Open in same tab Removes target="_blank" from the link
Rewrite button text Replaces the button block’s text
Use first row as header Moves the first table row into the header and makes its cells header cells
Turn off autoplay Turns off autoplay on the video or audio block
Use a theme colour (contrast) In the full page check, suggests the theme palette colour closest to the current text colour that passes contrast, and sets it as the block’s text colour

The contrast fix appears only when the issue can be traced to a block and your theme palette has a colour that passes.

On the front end, Fix in the editor opens the post in the block editor.

Sometimes a result is wrong, or you have handled it another way. Choose Ignore… and pick a reason:

  • Not a problem here
  • Fixed another way
  • Accept for now

Ignored issues are hidden from issue lists and counts, and stay ignored when you check again. In the editor they also stop counting toward the toolbar score. In the editor, ignored issues are listed separately and you can Reopen them.

If the element changes, for example new link text or a different image, the issue counts as a new issue and shows again.

Ignoring a site-wide issue affects every page, so it needs the same permission as editing the theme (in a default setup, administrators only).

Score How it is calculated
Editor toolbar score 100, minus 10 for each must-fix issue and 4 for each should-fix issue in your blocks. Never below 0.
Page score Every rule that applied to the page counts once. Failed rules are weighted by severity, and passed rules count as moderate. Manual checks don’t count. When both widths are checked, the lower score is used.
Site score The average of the latest page score of every checked page.

In lists, a score of 90 or more is shown in green, 60 to 89 in amber, and below 60 in red.

A score of 100 means no automated check failed. It does not mean the page is fully accessible.