Difference between revisions of "Aria-labelledby multiple and hidden ids"

From Level Access Web Labs
Jump to navigation Jump to search
Line 5: Line 5:
 
   <input type="text" aria-labelledby="a1 a2">
 
   <input type="text" aria-labelledby="a1 a2">
 
   <span style="display:none;" id="a2">error message</span>
 
   <span style="display:none;" id="a2">error message</span>
 +
  <input type="text" aria-labelledby="a1">
 
</html>
 
</html>

Revision as of 13:37, 6 May 2021

Input with aria-labelledby pointing to 2 spans with ids - 1 shown 1 display none.

First Name