WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Visual question about inline error handling

for

Number of posts in this thread: 3 (In chronological order)

From: Bryan Garaventa
Date: Sat, Jan 26 2013 1:48PM
Subject: Visual question about inline error handling
No previous message | Next message →

Hi, I'm currently working on an inline error handling module, with some extra stuff for handling dynamically updated help tooltips, but I'm not sure about something from a sighted perspective.

If you have a form with various fields, and you tab through it, would you expect inline error tooltips to appear next to every field that has invalid input?

Or, would you only expect the error tooltips to appear one at a time so that only one is visible?

Thanks,
Bryan

From: Steve Green
Date: Sat, Jan 26 2013 2:22PM
Subject: Re: Visual question about inline error handling
← Previous message | Next message →

My preference is for validation to be done when fields lose focus rather than validating after each keystroke, because I find the appearance and disappearance of error messages distracting. In the case of email addresses with domains such as gsi.gov.uk the error message can appear and disappear several times. This is bad enough visually, but it results in an even worse experience for screen reader users because in every implementation I have seen the error message interrupts the announcement of the characters that are being typed. This can easily cause typing errors that would not have occurred otherwise.

Regardless of whether you validate after each keystroke or after fields lose focus, I would expect error messages to remain after fields lose focus. I would not expect error messages to be present before fields receive focus - I know at least one site that does this and it confuses and annoys me.

Steve Green
Managing Director
Test Partners Ltd

From: Bryan Garaventa
Date: Sun, Jan 27 2013 1:21AM
Subject: Re: Visual question about inline error handling
← Previous message | No next message

Thanks, that helps a lot :)

I'll add this to the design.

All the best,
Bryan


----- Original Message -----
From: "Steve Green" < = EMAIL ADDRESS REMOVED = >
To: "WebAIM Discussion List" < = EMAIL ADDRESS REMOVED = >
Sent: Saturday, January 26, 2013 1:22 PM
Subject: Re: [WebAIM] Visual question about inline error handling


> My preference is for validation to be done when fields lose focus rather
> than validating after each keystroke, because I find the appearance and
> disappearance of error messages distracting. In the case of email
> addresses with domains such as gsi.gov.uk the error message can appear and
> disappear several times. This is bad enough visually, but it results in an
> even worse experience for screen reader users because in every
> implementation I have seen the error message interrupts the announcement
> of the characters that are being typed. This can easily cause typing
> errors that would not have occurred otherwise.
>
> Regardless of whether you validate after each keystroke or after fields
> lose focus, I would expect error messages to remain after fields lose
> focus. I would not expect error messages to be present before fields
> receive focus - I know at least one site that does this and it confuses
> and annoys me.
>
> Steve Green
> Managing Director
> Test Partners Ltd
>
>