This website collects cookies to deliver better user experience
Invisible content for screen readers with aria-labelledby
Invisible content for screen readers with aria-labelledby
This is more a note for myself than anybody else.
Problem
What if you have a group like the following but for some reason you're not allowed to have a title to tell people what it's for? Maybe your designers think it's contextual enough for sighted people or something.
WebAIM has really good tips on how to hide content from sighted users. I want to focus only on what they say about display: none and visibility: hiddenhere:
These styles will hide content from all users. The content is removed from the visual flow of the page and is ignored by screen readers. Do not use this CSS if you want the content to be read by a screen reader. But DO use it for content you want hidden from all users.