Re: [csswg-drafts] [css-display] create a display property value for visually hiding an element while making it available for AT (#560)

Thanks Scott and Sara! It sounds like we should not add a CSS capability like `.visually-hidden` and perhaps should instead focus on the items in Scott's blog post:

> We should be able to navigate to landmarks (e.g., skip to main content) by default browser commands.
> We should be able to send dynamic messages to assistive technology, without having to rely on fragile, invisible, live regions.
> We should be able to use aria-label (and also aria-description) without having to worry about translation services.
> We should be able to fully and easily style common form controls.
> And we shouldn’t need to introduce a native way to do all these things, which covers various use cases for visually hidden content, but not all of them.

-- 
GitHub Notification of comment by josepharhar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/560#issuecomment-2160318890 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 11 June 2024 09:55:37 UTC