On this page
What this issue is
A screen reader reads out what the user focuses on. It does not read out text that simply appears elsewhere on the page. If your form adds an error such as "Enter a valid email" after the user clicks Submit, a sighted visitor sees it. A screen reader user hears nothing unless the message is announced.
Why it costs you leads or sales
- Lands on formFills in fields
- Presses SubmitValidation fails
- Error appearsNot announced, no focus move
- Fixes the fieldNever knows what is wrong
- Lead sentNever happens
The error exists visually but is never announced, so the journey ends at the submit step.
Example: share of screen reader users who complete a form after a first failed attempt, before and after adding announcements. Numbers are illustrative.
How to check if your site has it
Turn on a screen reader
Use NVDA (free, Windows) with Firefox or Chrome, VoiceOver on Mac (Cmd+F5) or iPhone, or TalkBack on Android.
Submit the form empty or with a bad value
Use only the keyboard: Tab to fields and press Enter on the submit button.
Listen
You should hear the error text, or hear focus move to an error summary or the first invalid field. Silence means the issue is present.
Inspect the markup
In browser dev tools, find the error element. Check whether it or a parent has
role="alert",aria-live, orrole="status", and whether the container existed in the page before the error was added.
How to fix it
<form id="lead-form" novalidate>
<div id="form-errors" role="alert"></div>
<label for="email">Email</label>
<input id="email" type="email" name="email" aria-describedby="email-error" required>
<p id="email-error"></p>
<button type="submit">Send</button>
</form>const form = document.getElementById('lead-form');
const summary = document.getElementById('form-errors');
form.addEventListener('submit', (e) => {
const email = form.elements.email;
if (!email.validity.valid) {
e.preventDefault();
const msg = 'Enter a valid email address, for example name@example.com.';
document.getElementById('email-error').textContent = msg;
email.setAttribute('aria-invalid', 'true');
summary.textContent = '1 error: ' + msg;
email.focus();
}
});Check your form plugin
Update Gravity Forms, WPForms, Contact Form 7 or Fluent Forms to the latest version. Most current versions add role=alert or an error summary, and some have an accessibility option in the form settings. Check yours with a screen reader.
Patch gaps in your theme
If the plugin still stays silent, add a small script through a child theme or a code snippet plugin that writes the error text into a
role="alert"container.
Edit form snippets
In Online Store > Themes > Edit code, open the section or snippet for the contact or customer form. Newer themes already render errors in an element with
role="alert"oraria-live; check yours.Add the container
If missing, wrap the
{{ form.errors | default_errors }}output in a div withrole="alert"and addtabindex="-1"so you can focus it.
Mark the error element
Select the form's Error Message element, open Element settings and add a custom attribute
rolewith valuealert.Publish and test
Webflow shows the error block when submission fails. Check with a screen reader that the message is read out.
Use the Wix Forms error text
Wix Forms set their own validation messages. Test them with a screen reader. If they stay silent, add the form in custom code or Velo with a
role="alert"text element updated on failure.
Add a live region
Place an empty
role="alert"container in the HTML at page load and write messages into it.Move focus on failure
Focus the first invalid field or the error summary, and set
aria-invalid="true"on invalid inputs.
How to confirm it's fixed
- Submitting an empty form makes the screen reader read the errors or move to the first error.
- Each invalid field has
aria-invalid="true"and an error linked viaaria-describedby. - Errors are written in text, not colour alone.
- The test works with at least two screen reader and browser pairs, such as NVDA with Firefox and VoiceOver with Safari.
- A successful submit announces a confirmation message or moves to a thank-you page.
How to prevent it happening again
How FunnelGuard handles this
Questions people ask
Why are my form errors not read by a screen reader?
The error text is probably added to the page without a live region and without moving focus. Screen readers only read what is focused or what changes inside an aria-live or role="alert" container. Add one of those, or focus the first invalid field.
Should I use role=alert or aria-live for form errors?
Use role="alert" for errors after a failed submit, because it interrupts and announces right away. Use aria-live="polite" or role="status" for less urgent messages like a saved confirmation. Both work best when the container is already in the page before it is filled.
Is moving focus to the error better than aria-live?
Both are accepted. Moving focus to an error summary or the first invalid field makes the screen reader read it and also helps keyboard users. Many accessible forms combine a focused summary with inline messages linked by aria-describedby.
Does WCAG require form errors to be announced?
Yes. WCAG 2.2 success criterion 4.1.3 Status Messages requires that messages be conveyed to assistive technology without taking focus, and 3.3.1 Error Identification requires errors to be described in text. Moving focus to the error is another way to make sure the user is told.
How do I test if form errors are announced?
Turn on NVDA, VoiceOver or TalkBack, submit the form with a missing or wrong value using only the keyboard, and listen. If you hear no error, or only hear "button", the errors are not announced.
Can an automated tool find missing error announcements?
Only partly. Scanners like axe or Lighthouse can spot missing labels or bad ARIA, but they cannot hear whether a message was spoken after a failed submit. You need a manual screen reader test for that.
Why does aria-live not work when I add it with JavaScript?
Many screen readers ignore a live region that is created at the same moment its text is set. Put an empty container with aria-live or role="alert" in the HTML at page load, then change its text when the error occurs.
Related issues
- PRF-307Form errors shown only in red with no textFix guide
- PRF-309Errors not linked to fields (no aria-describedby)Fix guide
- PRF-305Form inputs without labels (placeholder only)Fix guide
- PRF-310Required fields indicated by colour onlyFix guide
- PRF-313Form cannot be completed with keyboard onlyFix guide
- PRF-300Text colour contrast below 4.5:1Fix guide