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

Seeing this thread being revived a few years later, I have an additional comment on my own "wish".

As a developer who kind of know what she's doing when she uses the `.visually-hidden` utility class, I appreciate having a native alternative. Sure. And I know other accessibility practitioners who would also appreciate not having to use a utility class so often.

BUT as a teacher, I can't but understand and kinda agree with @scottaohara 's points.

Unfortunately, I think that by standardizing the utility class into a property, it would encourage more devs to misuse it and end up with more broken experiences. 

The utility class is already being misused sometimes, and we already have a lot of work to do to teach (and learn) about all the nuances. It will be a lot harder to do when this is standardized. 


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


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

Received on Friday, 7 June 2024 15:12:50 UTC