Getting started
Requirements
Section titled “Requirements”- WordPress 6.9 or later
- PHP 8.1 or later
- A current version of Chrome, Firefox, Safari or Edge. Checks run in your browser.
- The block editor, for checks while you write
Install
Section titled “Install”Stacko Accessibility is not on WordPress.org yet. During development, install it from the source repository:
- Copy the
stacko-accessibilityfolder intowp-content/plugins/. - In that folder, run
npm install && npm run build. If you skip this step, wp-admin shows a notice that the admin app is not built. - Go to Plugins and activate Stacko Accessibility.
When you activate the plugin, it creates its database tables and saves the default settings. A new Accessibility menu appears in wp-admin.
Check a post while you write
Section titled “Check a post while you write”- Open a post or page in the block editor.
- Click the Accessibility icon in the editor toolbar. The icon shows a live score from 0 to 100.
- The sidebar lists the issues in your content. Click an issue to select its block.
- Use a fix button, such as Add alt text or Change to H2, or fix the content yourself.
The sidebar has two tabs:
- Issues lists open issues and the checks that passed.
- Outline shows your heading structure and marks headings that skip a level.
To work through the issues one at a time, choose Fix one by one. Press J for the next issue, K for the previous issue and Esc to leave.
Full page check
Section titled “Full page check”The live checks look only at your blocks. The Full page check in the same sidebar loads a preview of the post with your theme, at desktop width (1280 px) and mobile width (375 px). It finds problems the live checks can’t see, such as low colour contrast and issues in theme markup.
The full check runs after every manual save. You can also start it with Run full check.
Check a page on the front end
Section titled “Check a page on the front end”- While logged in, visit any page on your site.
- Click Accessibility in the admin bar. On a single post or page that has been checked before, its last score appears next to the label.
- A panel opens and checks the whole rendered page, including the header, footer and menus.
Issues are split into This page and Site-wide. Site-wide issues come from your header, footer, menus or sidebars and repeat on every page. Click an issue to highlight it on the page, or press J and K to move between issues.
The panel also has two tools:
- Tab order draws numbered pins on every element that can receive keyboard focus, in the order the Tab key reaches them.
- Simulate shows the page in greyscale, with blurred vision, or with animations turned off.
These tools are only for you. Visitors never see them.
Check the whole site
Section titled “Check the whole site”Go to Accessibility → Site scan and click Start check. Administrators only.
- Every published post and page is checked in this browser tab, one page at a time, at desktop and mobile width.
- Keep the tab open while the check runs. You can Pause and Continue later, including after reloading the page.
- Drafts are not included. Check drafts from the editor.
When the check is done, Accessibility → Overview shows the site score, the issues to fix first and the pages that need the most work. Accessibility → Issues lists every open issue. You can filter by level, by where the issue is (page content or site-wide) and by content type. Each issue has Fix in editor and View on page links.
The posts and pages lists also get an Accessibility column with each item’s last score and its number of must-fix issues.
Settings
Section titled “Settings”Go to Accessibility → Settings. Administrators only.
| Setting | Default | What it does |
|---|---|---|
| Standard | WCAG 2.2 AA | The standard to test against: WCAG 2.1 AA, WCAG 2.2 AA or WCAG 2.2 AAA. See WCAG and compliance. |
| Include best-practice checks | On | Adds helpful checks that are not strict WCAG failures. |
| Check header, footer and navigation | On | Checks shared parts of the page and shows their issues once, as site-wide issues. When this is off, issues in those parts are skipped. |
| Live checks while writing | On | Checks content in the editor as you type. When this is off, content is checked once when the editor opens, and you can use Check now to check it again. |
| Content types | Posts, Pages | The content types that show the editor checker and the list column. |
| Who sees the checker | Administrator, Editor, Author | Roles that see the checker in the editor and on the front end. Administrators can always use it. Other users also need permission to edit posts. |
| Delete all data when the plugin is deleted | Off | When this is on, deleting the plugin removes its scans, issues, ignores and settings. |