Difference between revisions of "Aria-labelledby multiple and hidden ids"
Jump to navigation
Jump to search
(Created page with "<html> <span id="a1">First Name</span> <input type="text" aria-labelledby="a1 a2"> <span style="display:none;" id="a2">error message</span> </html>") |
|||
Line 1: | Line 1: | ||
+ | Input with aria-labelledby pointing to 2 spans with ids - 1 shown 1 display none. | ||
+ | |||
<html> | <html> | ||
<span id="a1">First Name</span> | <span id="a1">First Name</span> | ||
<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> | ||
− | |||
</html> | </html> |
Revision as of 13:27, 6 May 2021
Input with aria-labelledby pointing to 2 spans with ids - 1 shown 1 display none.
First Name