Re: [w3ctag/design-reviews] CSS Overflow Navigation Controls (Carousels) (Issue #1037)

delucis left a comment (w3ctag/design-reviews#1037)

Apologies if this is the wrong place to mention this, but this discussion seemed to be the main one I could find relating accessibility to this new CSS API.

A question I had while evaluating the new `:target-current` pseudo-class was whether it will be reflected in the accessibility tree in some way. We have a table of contents implementation using JS that in theory `:target-current` and `scroll-target-group` would be able to replace. Currently, we use `aria-current="true"` to highlight the current item in a table of contents. As far as I can tell (at time of writing, in Chrome 144), `:target-current` is not exposed with a similar “current item in group” semantics in the accessibility tree.

Should links matching `:target-current` receive some similar semantics in the AT?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/1037#issuecomment-3799273495
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/1037/3799273495@github.com>

Received on Monday, 26 January 2026 12:14:49 UTC