WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Handling with accessible error messages.

for

From: Tim Harshbarger
Date: Sep 23, 2010 6:48AM


One option might be to make the error messages links. When the user
clicks on the error message focus is then moved to the field with the
error.

How else do you visually notify users which field has the error?

Depending on your audience, ARIA provides some mechanisms that might be
useful. For example, using aria-describedby to programmatically
indicate a relationship between the field and the error message.

If you have a long submission form or there are a lot of fields of
similar type, you might want to provide some kind of mechanism that
allows the user to see the error message next to the field. That might
be useful to people using screen magnification or people who might find
themselves constantly scrolling to the error messages and back to the
fields because they keep forgetting exactly what the error was.

Tim
-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of
<EMAIL REMOVED>
Sent: Thursday, September 23, 2010 7:20 AM
To: <EMAIL REMOVED>
Subject: [WebAIM] Handling with accessible error messages.

Hi folks,
We have a form which needs to be made accessible.
On submition of the form the errors are appeared as a list before the
form.
User has to read all the error messages and then move to the form to
enter. If we have more than 3 errors an user cannot remember all the
error messages and enter.
So another mechanism also is required to provide the error messages for
the users of screen readers some where near the wrongly entered field.
I prefer providing a hidden span with error message near corresponding
field. Is it okey?
Can any one bring more accessible solution on it without disturbing the
existing layout.
Waiting for your responses.
Thanks in advance.
Rakesh

This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on
this e-mail is strictly prohibited and may be unlawful.