Reputation: 2129
I have added the following html
<a href="url" aria-hidden="true">Read more</a>
to hide this element from screen reader but the screen reader still the Read more
I have also tried with tabindex=-1
to this anchor tag and to its outer div but still the screen reader read the Read more
text.
Is there any way to hide it from the screen reader?
Upvotes: 2
Views: 3409
Reputation: 2630
may be helpful:
Fourth rule of ARIA use
Do not use role="presentation" or aria-hidden="true" on a visible focusable element .
Upvotes: 1
Reputation: 159
Have your tried using role="presentation" ? It also work for chrome.
Regards, sachin
Upvotes: 0