Difference between revisions of "Aria-labelledby aria-hidden"

From Level Access Web Labs
Jump to navigation Jump to search
Line 25: Line 25:
 
   <span aria-hidden="true"> Adobe </span></a>
 
   <span aria-hidden="true"> Adobe </span></a>
 
   <p>Accessible name for above should be "Google".</p>
 
   <p>Accessible name for above should be "Google".</p>
 +
</div>
 +
<div aria-hidden="true">
 +
<p> This is some text inside</p>
 
</div>
 
</div>
 
</html>
 
</html>

Revision as of 19:36, 9 March 2019

aria-labelledby reference element with aria-hidden true

Google

Accessible name for above should be "Adobe".

aria-labelledby reference element with text and span with aria-hidden true

Google

Adobe

Accessible name for above should be "Adobe".

Link with text and span with aria-hidden true. aria-labelledby not used.

Google

Accessible name for above should be "Google".