RE: Error Handling Best Practice?

Another possible   method is to keep error’s in an unordered list inside a div container with tabindex ="0"
AT will read the number of errors at they are listed in an unordered list. In this way screen reader knows to go back to the list after correcting the firsts error.

<div id="form_errMsg" tabindex="0" >
Error Messages :
<a href="#edit-name">You must enter name.</a>
<a href="#edit-phone">You must enter your phone number.</a>


#form_errMsg {
    margin-bottom: 10px;
    margin-right: 20px;

Or you can also use field set and legend instead of div

<fieldset  ……………..tabindex="0">
<legend>Please correct the following errors:<legend>
<ul  >

From: David MacDonald []
Sent: Tuesday, December 22, 2015 12:18 PM
To: Patrick H. Lauke <>
Cc: Alistair Garrison <>; Michiel Bijl <>; Balusani, Shirisha <>;; Jonathan Avila <>;
Subject: Re: Error Handling Best Practice?

An old school fix is to insert the error message inside the label tag for the label association with the input with the error

David & Kirsten MacDonald

On Tue, Dec 22, 2015 at 12:43 PM, David MacDonald <<>> wrote:
Android/talkback is way behind on for accessibility. It's like Apple was in 2007.

It is not currently taken seriously by the blind community from what I can see. Google needs to figure this out... When you say "due to the number of users on Android..." I wouldn't say there are many blind users, and those who do, use Android  as a second device ...

Working people and serious students who are blind currently use iPhone. There is no other option, really...

I wish this wasn't the case but it is, I think.

David & Kirsten MacDonald

On Tue, Dec 22, 2015 at 11:45 AM, Patrick H. Lauke <<>> wrote:
On 22/12/2015 16:34, Alistair Garrison wrote:
Thanks for the suggestion. It's really the where and how to present the
error message that I suppose I'm searching for - be it:

So your dismissal of aria-describedby earlier in the thread is a red herring then, as that attribute can be used to tie the error message programmatically to the form control - it's orthogonal to where/how to present the message (as it's not a hidden attribute or anything, like aria-label)...

Patrick H. Lauke<> |<><> |<>
twitter: @patrick_h_lauke | skype: patrick_h_lauke

Received on Wednesday, 23 December 2015 14:33:14 UTC