WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: aria-describedby Id's

for

From: Angela French
Date: May 3, 2013 9:26AM


The described-by is in the control. The id it references is in the message.

<div id="error6" class="errors">Error: Please enter a valid date.</div>
<div>
<label for="test6">Date: </label>
<input type="text" name="test" id="test6" aria-describedby="error6 instructs6" />

>