Re: [csswg-drafts] [css-content] Use case for counter / counters in content alt text? (#10387)

The accessibility tree also has concepts of "position in set" and "set size", which it computes automatically, so that screen readers can read something like "Tab 3 of 5". It does this for a number of controls, e.g. radio buttons, list items, etc. I'm not sure if screen readers universally will announce these for tab controls, so we need to test. If they do, then name would probably just need to be something generic, otherwise you will hear the item # twice.

We'll need to look into that before we decide whether to automatically populate the accessible name with the number. Even if it doesn't work, there's an argument to be made that the screen reader is what needs updating there.

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


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

Received on Monday, 15 July 2024 16:32:46 UTC