Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Form error messages not announced to screen readers: fix

OPS-380Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A screen reader is software that reads a page aloud (or to a braille display) for people who are blind or have low vision. It only reads what is in the page's code and what is announced to it. If your form adds a red message such as "Enter a valid email" after a failed submit, sighted visitors see it. A screen reader user often hears nothing, because the message was injected into the page without telling the screen reader.

Why it costs you leads or sales

The visitor presses Submit or Pay, nothing seems to happen, and they cannot find out why. Most will leave. Every lead form and checkout that behaves this way quietly turns away people who wanted to buy or enquire. It also adds to legal exposure, because inaccessible forms are a common basis for accessibility complaints under laws such as the ADA and the European Accessibility Act.

Where a screen reader user drops out
  1. Fill in formUser completes fields with keyboard and screen reader
  2. Press SubmitValidation fails, error appears visually
  3. Error announcedNothing is read aloud, focus does not move
  4. Correct the fieldUser does not know what to fix
  5. Lead or orderForm is abandoned

The form fails validation, but the error is never announced, so the later steps are lost.

Completed submissions among screen reader users after a failed first attemptExample numbers
Completed submissions among screen reader users after a failed first attempt (example)Error silent: 15 %; Error announced: 80 %031611580Error silentError announced%

Example: illustrative numbers only. When the error is announced, far more people recover and finish the form.

How to check if your site has it

Do a real test. Automated scanners cannot tell whether an error is announced at the right moment, so listen to it yourself.

Test a form with a screen reader
  1. Turn on a screen reader

    Use NVDA (free, Windows) with Firefox or Chrome, VoiceOver (built in, Mac and iPhone) with Safari, or TalkBack on Android. On Mac press Cmd+F5 to start VoiceOver.

  2. Trigger errors on purpose

    Leave required fields empty, type an invalid email, and submit using only the keyboard (Tab, Enter, Space).

  3. Listen

    Do you hear that there are errors, which fields are wrong and what to do? Is the message read when you land on the field again?

  4. Check where focus goes

    After a failed submit, focus should move to the first invalid field or to an error summary, not stay on the button with silence.

  5. Inspect the code

    In browser DevTools, check that invalid fields have aria-invalid="true" and an aria-describedby pointing to the id of the message.

  6. Repeat on checkout and popups

    Test card, address and coupon errors, and forms inside modals, since they often use different code.

How to fix it

The pattern is the same everywhere: write the error in text, link it to the field, announce it, and put focus in a sensible place. Here is a working example.

Accessible inline error with summaryhtml
<div id="error-summary" role="alert" tabindex="-1" hidden>
  <h2>There is a problem</h2>
  <ul><li><a href="#email">Enter a valid email address</a></li></ul>
</div>

<label for="email">Email</label>
<input id="email" name="email" type="email" required
       aria-invalid="true" aria-describedby="email-error">
<p id="email-error" class="error">Error: enter a valid email address, like name@example.com</p>
Show errors and move focusjavascript
form.addEventListener('submit', function (e) {
  const invalid = form.querySelectorAll(':invalid');
  if (invalid.length) {
    e.preventDefault();
    invalid.forEach(function (f) { f.setAttribute('aria-invalid', 'true'); });
    const summary = document.getElementById('error-summary');
    summary.hidden = false;
    summary.focus(); // or invalid[0].focus()
  }
});

Do not rely on colour alone. Include the words "Error" or an icon with text, and keep the message on screen until the user fixes it. Avoid auto-dismissing toasts for errors.

Fix by platform
  1. Check your form plugin

    Update Gravity Forms, WPForms, Contact Form 7 or Fluent Forms to the latest version and test errors with a screen reader. Gravity Forms has an accessibility-friendly validation summary; check its form settings and enable the validation summary where offered.

  2. Check the theme

    Custom CSS that hides messages with display:none or moves them off screen can remove them from screen readers. Use the DevTools Accessibility panel to confirm the message is exposed.

  3. Contact the plugin author

    If errors are still silent after updating, report it to the plugin support with your test steps.

How to confirm it's fixed

Fix verification
  • With a screen reader, submit the empty form: you hear that there are errors.
  • Focus moves to the first error or an error summary.
  • Each invalid field reads its label, the word invalid, and the message.
  • Error text is visible, not colour alone.
  • Messages stay until the problem is fixed.
  • The same works on checkout, popups and mobile (VoiceOver on iPhone, TalkBack on Android).
  • A valid submission still goes through and the success message is also announced.

How to prevent it happening again

Form code changes when you update a theme, switch plugins, or add a new popup. Build a short screen reader test into your release routine.

Prevention routine
  • Add 'errors announced' to the acceptance criteria for every new form.
  • Run the keyboard and screen reader test after theme, plugin or builder updates.
  • Add axe or Lighthouse checks to your build or QA process for missing labels and aria attributes.
  • Use one shared form component so a fix applies everywhere.
  • Review forms in third-party widgets (booking, chat, payments) separately.

How FunnelGuard handles this

FunnelGuard does not check whether error messages are announced to screen readers. It is a possible future check, not something it does today.

What it does cover nearby: a robot visitor runs your real lead form or checkout journey on a schedule, checks each step, and alerts you if a form can no longer be submitted, a button breaks, tracking hits stop, or test leads do not reach your inbox and CRM. That helps you notice a form that is broken for everyone, but not one that works for most people and is silent for screen reader users.

To watch for this issue, keep a recurring manual test with NVDA or VoiceOver on your main forms, and run axe DevTools or WAVE alongside it. The Free plan (1 site, 2 journeys, daily checks) can monitor the basic journey while you do the accessibility testing yourself.

Questions people ask

Why are my form error messages not read by screen readers?

Usually the message is added to the page with JavaScript but is not in a live region, is not linked to its field, or focus stays on the submit button. The screen reader only reads what it is told about, so the error appears visually and stays silent. Add role="alert" or an aria-live region and link the message with aria-describedby.

How do I make form errors accessible?

Write the error as visible text, set aria-invalid="true" on the field, link the text with aria-describedby, and announce it with a live region or an error summary. Then move focus to the first invalid field or the summary after a failed submit. Test with NVDA or VoiceOver.

Should I use aria-live or role=alert for errors?

Use role="alert" for errors that stop the user submitting, because it announces immediately. Use aria-live="polite" for less urgent messages. In both cases the live region should exist in the page before you add the text.

Does a red border count as an error message?

No. Colour alone is not enough for sighted users with colour blindness, and a border is not read by a screen reader at all. Always include text that says what is wrong and how to fix it.

Which WCAG rules cover form error announcements?

WCAG 3.3.1 Error Identification requires errors to be described in text, and 4.1.3 Status Messages requires status changes to be announced without moving focus. 3.3.3 Error Suggestion also asks you to suggest how to fix the error where possible.

How do I test form errors with a screen reader?

Turn on NVDA, VoiceOver or TalkBack, leave required fields empty, and submit using only the keyboard. Listen for the error, check where focus lands, and make sure each field reads its message when you return to it.

Can an automated tool find silent error messages?

Only partly. Tools like axe, WAVE and Lighthouse can spot missing aria attributes, but they cannot hear whether a message is announced after a submit. A manual screen reader test is still needed.

Does FunnelGuard check for error messages not announced to screen readers?

No, not yet. It is a possible future check. FunnelGuard does run your lead forms and checkouts on a schedule to catch forms that fail to submit, so test screen reader announcements manually.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.