E-mail List Archives
Re: A simple beginner's question
From: Léonie Watson
Date: May 23, 2016 6:35AM
- Next message: Mary A. Albert: "Accessibility work arounds for ServiceNow?"
- Previous message: Birkir R. Gunnarsson: "Re: A simple beginner's question"
- Next message in Thread: Robert Fentress: "Re: A simple beginner's question"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: A simple beginner's question"
- View all messages in this Thread
> From: Birkir R. Gunnarsson [mailto: <EMAIL REMOVED> ]
> Sent: 23 May 2016 12:42
> aria-describedby is the best technique in my experience to relate error
> messages to form fields If your error checking happens when user submits
> the form you:
> 1. use aria-describedby to associate error message with form fields and 2.
> Move focus to the first form field with an associated error message.
You can do this, but if you're using aria-describedby to associate useful information with the field already, it can get messy. With something like an error, sticking to old-school HTML seems like the best option, if for no other reason than backwards compatibility.
Plenty of ways to "skin the cat" of course :)
Léonie.
--
@LeonieWatson tink.uk Carpe diem
- Next message: Mary A. Albert: "Accessibility work arounds for ServiceNow?"
- Previous message: Birkir R. Gunnarsson: "Re: A simple beginner's question"
- Next message in Thread: Robert Fentress: "Re: A simple beginner's question"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: A simple beginner's question"
- View all messages in this Thread