Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sharps_xp
· 4y ago · 0 comments
i recently read that display:none elements are hidden from screen readers
Comments
[–]
john-doe
4y ago
They are. I recommend using `height:0` and `overflow: hidden` instead. Or the more advanced `.sr-only` class:
https://kittygiraudel.com/snippets/sr-only-class/
[–]
ignoranceprior
4y ago
I wonder whether, upon clicking the links, there is any indication about the change in visible content.