Skip to content

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

@danielsakhapov

Description

@danielsakhapov

:target-current 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Agenda+Agenda+ TPACa11y-trackerGroup bringing to attention of a11y, or tracked by the a11y Group but not needing response.css-overflow-5

    Projects

    Status

    Agenda+

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions