RGAAv4 enhance 11.2.4
In the UI, instead of printing the value of the id
, print the content of the element wearing the id
Example
Reference on nonreg: https://gitlab.com/asqatasun/nonreg.asqatasun.ovh/-/blob/master/Referentials/RGAAv4.0/11.Forms/11.2.4-3NMI/ARIA%20labelledby%20(forms%201).html
<div>
<span id="dob"><b>Date of Birth:</b></span>
<select aria-labelledby="dob">
<option value="">day</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<select aria-labelledby="dob">
<option value="">month</option>
<option value="jan">January</option>
<option value="feb">February</option>
<option value="mar">March</option>
</select>
<select aria-labelledby="dob">
<option value="">year</option>
<option value="1980">1980</option>
<option value="1981">1981</option>
<option value="1982">1982</option>
</select>
</div>
Here we display only dob
.
We should display Date of Birth:
which is much more meaningful for the a11y auditor.
Edited by Matthieu FAURE