WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: aria-describedby

for

From: Jesse Hausler
Date: Feb 10, 2012 6:45PM


I looked into that and read that it's poor form to use a <label> and aria-labbeledby at the same time. Even so, I tried using both, each getting one item per attribute. This didn't work either, as it only announced, "Success! ..."

<label for="dname">Domain name</label>
<input id="dname" type="text" aria-describedby="helptext" aria-labelledby="win">
<span id="helptext">use format: something.com</span>
<div id="win">Success! Domain name available</div>

Thanks for the reply.