Can I prevent :after pseudo-element from being read by screen readers?
Try this, it targets screen readers with a media query and hides the star @media reader, speech, aural { .required:after { display: none; visibility: hidden; } } Update: As the support for my initial solution doesn’t seem to be that good I have thought of a alternative. It occurred to me that the only way … Read more