WordPress forms get restyled to match the brand on every site that takes design seriously, and that restyling routinely breaks accessibility in ways the designer never notices. Labels are hidden behind floating animations that fail when JS is off; focus outlines are removed for aesthetics and never replaced; error messages are colored red with no text alternative; required-field markers use only an asterisk with no semantic indicator. Each of these is a WCAG 2.2 AA failure, and they compound — a visitor on a screen reader cannot complete the form at all.
What’s happening
The default styling on every form plugin in this list ships accessible: visible labels, visible focus rings, proper aria-required, aria-invalid, role="alert" on error messages. Theme overrides and page-builder styling strip these out. CSS like *:focus { outline: none; } removes focus indicators globally. Floating labels implemented with placeholder text only fail when the visitor types — the label disappears and they cannot reread the question. Color-only error indicators fail color-blind visitors and screen readers entirely.
How to verify
Run an axe-core audit against the form page and test keyboard-only navigation:
npm install -g @axe-core/cli
axe https://yoursite.com/contact/ --include "form" --tags wcag2a,wcag2aa
wp eval 'echo wp_get_theme()->get("Name");'
grep -r "outline: none\|outline:none\|outline: 0" wp-content/themes/active-theme/ | head
Tab through the form with the keyboard only. Each focusable element should show a visible focus ring. Each required field should have a label that screen readers can announce. Submit with an empty required field — the error should be announced, not just shown in red.
The fix
- Never remove focus outlines without replacing them: if
outline: noneappears in the theme CSS, immediately add a visible replacement on:focus-visible— a 2px solid border in a high-contrast color, ideally not the same color as the brand body text. - Keep labels visible: do not use placeholder-only floating labels. If you must use floating labels, implement them with an actual
<label>element that floats on focus and remains visible while typing. - Required field semantics: mark required fields with
requiredattribute andaria-required="true". Visually, use the asterisk plus the word “required” in the label, not the asterisk alone. - Error messages with
role="alert"andaria-live="polite": the form plugins in this list set this by default; check that custom CSS does not hide the live region withdisplay: none(useclip-pathfor visual-only hiding if needed, but the element must stay in the accessibility tree). - Color contrast for errors: 4.5:1 ratio between error text and its background. The default WordPress red (#dc3232) on white passes; lighter brand reds often do not. Use a contrast checker before shipping.
- Form field spacing: minimum 24px between interactive elements per WCAG 2.2 Target Size. A tightly packed checkbox group fails for motor-impaired visitors.
- Test with a real screen reader: VoiceOver on macOS (Cmd+F5), NVDA on Windows (free), or JAWS. Submit a form with an invalid field and listen — the error should be announced clearly, not just visually red.
- No autocomplete left blank: name, email, phone, postal code all have standard
autocompletevalues (name,email,tel,postal-code). Setting them helps every visitor, especially mobile and assistive tech.
For WordPress sites with public-sector or accessibility-regulated audiences, form accessibility is part of how we run enterprise WordPress hosting. To audit your forms against WCAG 2.2 AA before a procurement review or a public-sector RFP, book a scoping call.