Reputation: 253
I want to skip some content from reading of screen reader. consider this html
<div id="test" aria-labelledby="test>
...
<div aria-hidden="true">Dont read this content. This content will be loaded from javascript</div>
...
</div>
Though the aria-hidden=true is set for the div, the content is read by screen reader. Please help to skip this content
Upvotes: 3
Views: 6325
Reputation: 74
Your code looks right, how are you testing this?
Not all browsers / screen readers will support this yet.
Try setting style="display:none;" as this may be more widely supported at the moment.
Upvotes: 2