accname
accname copied to clipboard
example under 2.C
Refer to example under 2.C:
Snippet:
<a id="file_row1" href="./files/Documentation.pdf">Documentation.pdf</a>
<span role="button" tabindex="0" id="del_row1"
aria-label="Delete" aria-labelledby="del_row1 file_row1">
</span>
....
<a id="file_row2" href="./files/HolidayLetter.pdf">HolidayLetter.pdf</a>
<span role="button" tabindex="0" id="del_row2"
aria-label="Delete" aria-labelledby="del_row2 file_row2">
</span>
Consider using input type button, instead of role button:
<a id="file_row1" href="./files/Documentation.pdf">Documentation.pdf</a>
<input type="button" id="del_row1" aria-label="Delete" aria-labelledby="del_row1 file_row1" value="button 1">
...
<a id="file_row2" href="./files/HolidayLetter.pdf">HolidayLetter.pdf</a>
<input type="button" id="del_row2" aria-label="Delete" aria-labelledby="del_row2 file_row2" value="button 2">