Skip to content

Documentation: when focused on header anchor (#) links they are not shown #2

@rouilj

Description

@rouilj

Your headers have # links that show up when hovering over the header.
However if somebody is tabbing through the document, these links are
focused but they are not visible. This leaves the user wondering where the focus
is.

Changing the css to read:

:is(h2, h3):hover .heading-anchor, .heading-anchor:focus {
   opacity: 1
}

seems to work for me.

-- rouilj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions