html - How can I make screen reader (esp using NVDA) not read an element when focused? -




i working on highly accessible website. how can make screen reader not read (1) associated labels, (2) not indicate if checked or not, focused checkbox? when focus checkbox screen reader not read anything.

i tried adding class .dontread it's not working. can suggest other methods?

.dontread {    speak: none; } 

you can't , shouldn't that.
if site not highly, accessible, in no way should prevent screen reader reading element in focus, being strictly against accessibility recommendations. , preventing reading checked state of check box worse. if want that, replace native controls check boxes images no alt. please, heaven's sake, don't in way, drop accessibility level many points @ once.
if misunderstood you, please reword question or (better) add clear things bit more.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -