[csswg-drafts] [css-overflow-5] `:target-current` pseudo class should also imply `aria-current=true` on an active scroll marker (#12659)

danielsakhapov has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow-5] `:target-current` pseudo class should also imply `aria-current=true` on an active scroll marker ==
[`:target-current`](https://drafts.csswg.org/css-overflow-5/#active-scroll-marker) pseudo class is used to style an active scroll marker within each scroll marker group.
An example would be a table of content where the link to the chapter which is currently in view is highlighted via styling by a `:target-current` pseudo class.

In https://www.sarasoueidan.com/blog/css-scrollspy/ Sara makes a good point that in addition to just styling an active scroll marker we should set [`aria-current=true`](https://w3c.github.io/aria/#aria-current).

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12659 using your GitHub account


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

Received on Tuesday, 26 August 2025 13:42:01 UTC