An answer to a test page by Steve.
The tests
- The first test has a visible link that has
aria-hidden="true"
The code:
<!DOCTYPE html><title>test 1</title>
<img aria-describedby=longdesc src=http://dev.w3.org/html5/alt-techniques/images/shalott.jpg alt='The Shallot image.' >
<p aria-hidden=true><a id=longdesc href=page2>Read more.</a>
- The second test has a link that has been made hidden with the
hidden attribute.
The code:
<!DOCTYPE html><title>test 2</title>
<img aria-describedby=longdesc src=http://dev.w3.org/html5/alt-techniques/images/shalott.jpg alt='The Shallot image.' >
<p hidden aria-hidden=true><a id=longdesc href=./>Read more.</a>
Things to look out for
- Does the text of the link get announced?
- Is the link presented as description link?
My results
- I have tested: Firefox 14 and Nightly with Windows XP and Windows 7, with Jaws 13.
- My page 1 results:
- The text link does not get announced in any way.
- The link is presented as a description link.
- My page 2 results:
- The text link does not get announced in any way.
- The link is not presented as a description link.