a11yproject / a11yproject.com

The A11Y Project is a community-driven effort to make digital accessibility easier.
https://a11yproject.com
Apache License 2.0
3.7k stars 551 forks source link

fix(posts): how-to-hide-content - Mention .sr-only #1558

Closed sandrina-p closed 1 year ago

sandrina-p commented 1 year ago

Hi team! (cc @davatron5000)

I've updated the post How-to: Hide content.

Why? Personally, instead of .visually-hidden, I name the CSS class .sr-only because:

For that reason, I think it's important to mention that alternative in your post. What do you think?

Thank you :)

davatron5000 commented 1 year ago

🚀🎉 👏 Thanks @sandrina-p