E-mail List Archives
Re: Form error messages (asp.net 4)
From: Angela French
Date: May 2, 2013 6:07PM
- Next message: Paul J. Adam: "Re: Form error messages (asp.net 4)"
- Previous message: Paul J. Adam: "Re: Form error messages (asp.net 4)"
- Next message in Thread: Paul J. Adam: "Re: Form error messages (asp.net 4)"
- Previous message in Thread: Paul J. Adam: "Re: Form error messages (asp.net 4)"
- View all messages in this Thread
>Inserting errors into the connected label is the bullet-proof method that would
>work on any user agents with no aria support.
>
>
>
>Paul J. Adam
>Accessibility Evangelist
>www.deque.com
>
>
Thanks Paul.
I'm curious - I know that the html spec allows for two labels for an input tag. How do screen readers handle two labels associated with one element? Assuming my html coding is correct (I've never done two labels with one input), how would my example be heard?
<label for="firstname">First Name:</label><input type="text" id="firstname" /><label for="firstname">You forgot to enter your first name</label>
Angela French
- Next message: Paul J. Adam: "Re: Form error messages (asp.net 4)"
- Previous message: Paul J. Adam: "Re: Form error messages (asp.net 4)"
- Next message in Thread: Paul J. Adam: "Re: Form error messages (asp.net 4)"
- Previous message in Thread: Paul J. Adam: "Re: Form error messages (asp.net 4)"
- View all messages in this Thread