Difference between revisions of "Aria-describedby"

From Level Access Web Labs
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<html>
 
<html>
 +
<body>
 
<p id="speak"> This is some stuff to announce. </p>
 
<p id="speak"> This is some stuff to announce. </p>
 
<a href="#" aria-describedby="speak"> This is a link </a>
 
<a href="#" aria-describedby="speak"> This is a link </a>
 
<p > This has aria-describedby with a null value </p>
 
<p > This has aria-describedby with a null value </p>
 
<a href="#" aria-describedby=""> This is a link 2</a>
 
<a href="#" aria-describedby=""> This is a link 2</a>
 +
 +
<form>
 +
<label for="text-input">Text field with aria-describedby</label>
 +
<input id="text-input" type="text" aria-describedby="speak">
 +
</form>
 +
</body>
 
</html>
 
</html>

Latest revision as of 16:06, 14 June 2019

This is some stuff to announce.

This is a link

This has aria-describedby with a null value

This is a link 2