html - How to hide an element from screen reader/voiceover -


i have added following html

<a href="url" aria-hidden="true">read more</a> 

to hide element screen reader screen reader still read more

i have tried tabindex=-1 anchor tag , outer div still screen reader read read more text.

is there way hide screen reader?

may helpful:

notes on using aria in html

fourth rule of aria use

do not use role="presentation" or aria-hidden="true" on visible focusable element .


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -