WebAIM - Web Accessibility In Mind

E-mail List Archives

Form Errors w/ ARIA Alert Help

for

From: Vincent Young
Date: Oct 17, 2011 10:30PM


I'm hoping I can get some help here. I'm trying to trigger an ARIA alert on
form errors w/ the business requirement that the first errored input needs
to get focus. Problem is, errors come back after form submission (i.e. no
JS error handling). The only way I was able to get this to work cross
browser is the ugly implementation below:

http://www.webhipster.com/testing/accessibility/alert/

Does anyone know of a better way to do this? I really hate showing then
hiding the errors then sticking a random element inside all after a
settimeout.

Thanks all!

--
WebHipster Interactive, ltd.
Vincent Young - Principal
33 E. Lincoln St.
Columbus, OH 43215
p: 614.607.3400
f: 339-674-3400
e: <EMAIL REMOVED>
w: http://www.webhipster.com