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

@josepharhar re: `aria-hidden=false` on a `display:none` element - that's off the table.  The ARIA spec actually has a pending update to specifically note that `aria-hidden=false` needs to be treated the same as `aria-hidden=undefined` / e.g., as if the attribute wasn't even there, as there are many instances of where authors misused the `false` value and making that re-reveal hidden content to the accessibility tree would actually break intended experiences.

As a counter point to the article you found - https://www.scottohara.me/blog/2023/03/21/visually-hidden-hack.html

-- 
GitHub Notification of comment by scottaohara
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/560#issuecomment-2154981646 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 14:37:49 UTC