4 ms·
My gut instinct is that these CSS tricks may be bad for accessibility. Does anyone know how well a screen reader would deal with it?
by ufo 5y ago
My gut instinct is that these CSS tricks may be bad for accessibility. Does anyone know how well a screen reader would deal with it?
- sharps_xp 5y agoi recently read that display:none elements are hidden from screen readers
- ignoranceprior 5y agoI wonder whether, upon clicking the links, there is any indication about the change in visible content.
- john-doe 5y agoThey are. I recommend using `height:0` and `overflow: hidden` instead. Or the more advanced `.sr-only` class: https://kittygiraudel.com/snippets/sr-only-class/ https://kittygiraudel.com/snippets/sr-only-class/
- themodelplumber 5y agoI was just reading it in Links 2 and it is totally readable inline. It also gets a 100 from Google Lighthouse Mobile & Desktop Accessibility checks.