Most accessibility problems on a WordPress site don’t come from content editors. They are baked in by the theme: a menu that traps keyboard focus, a layout that breaks at 200% zoom, a button built from a div. Fix the theme and every page benefits. Ignore it and every page inherits the problem. If you build or customize themes, this checklist covers what to verify before you ship.
Start With Semantic Structure
Assistive technology depends on correct HTML. Get the foundation right and you avoid most ARIA workarounds later.
Landmarks and Headings
Use header, nav, main, aside and footer elements once each in their proper roles. Give every navigation region a distinct accessible name, such as “Primary” and “Footer”, so screen reader users can tell them apart. Make sure the page title is the only H1 and that templates never skip heading levels. Widget and sidebar titles are a common source of out-of-order headings.
Language and Page Titles
Call language_attributes() in the html tag and add title-tag theme support so every page gets a unique, descriptive title.
Keyboard and Focus Behavior
Unplug your mouse and try the theme. Everything a mouse user can do must be possible from the keyboard, and you must always be able to see where you are.
- Never remove focus outlines with
outline: noneunless you replace them with a clearly visible style that has at least 3:1 contrast. - Include a skip link as the first focusable element, and make sure its target actually receives focus.
- Build dropdown menus so they open on keyboard focus or Enter, and close with Escape.
- Keep tab order matching visual order. Avoid positive
tabindexvalues. - Under WCAG 2.2, make sure sticky headers and cookie banners don’t completely hide the focused element.
- Trap focus inside modals only while they are open, and return focus to the trigger when they close.
Color, Typography, and Responsive Design
Text needs a 4.5:1 contrast ratio against its background (3:1 for large text), and UI components such as input borders and icons need 3:1. Check your default palette and also any color options the theme offers in the Site Editor, because users can pick combinations that fail. If you ship a theme.json palette, test every pairing you expose.
Size text in relative units so browser font settings are respected, and test at 200% zoom and a 320px wide viewport. Content should reflow without horizontal scrolling. Never disable pinch zoom with maximum-scale in the viewport meta tag. Touch targets should be at least 24 by 24 CSS pixels to meet WCAG 2.2, and larger is better.
Forms, Images, and Dynamic Content
Search forms, comment forms and login forms are rendered by theme templates, so they are your responsibility. Each field needs a programmatically associated label, not just placeholder text. Error messages should identify the field and describe the fix. Support html5 markup for search-form, comment-form and comment-list in add_theme_support() to get modern, more accessible output.
For images, output the alt text the editor entered, and render decorative theme images with empty alt="" or as CSS backgrounds. For sliders, carousels and auto-updating content, provide pause controls and avoid autoplay. Respect prefers-reduced-motion for animations and parallax effects.
Test Before You Release
A checklist only helps if you verify it. A reasonable release routine looks like this:
- Run an automated scan on your key templates: home, single post, archive, search, 404 and a page with forms.
- Navigate each template using only the keyboard.
- Zoom to 200% and resize to a narrow viewport.
- Walk through the main flows with a screen reader such as NVDA or VoiceOver.
- Review the results against WordPress’s Accessibility Ready requirements if you plan to submit to the theme directory.
Be realistic about automation. Scanners reliably catch missing labels, low contrast and invalid ARIA, but they can’t judge whether alt text is meaningful or whether a focus order makes sense. Roughly a third or fewer of WCAG issues can be found automatically, so manual checks remain essential.
Take Action
LEWCA’s WCAG scanner finds real code-level issues in your theme output, so you can fix the template instead of masking the problem. Pro adds AI-powered code fixes, scheduled scanning and compliance reports. No tool guarantees full compliance, but regular scanning plus manual testing gets you much closer. Download LEWCA to scan your theme today, or compare plans to see what Pro adds.