Skip to content

Styling :focus-within on <details> #171

Description

@geoffrey-eisenbarth

Currently tabbing to a <details> does not show the usual :focus-within outline (technically, tabbing to the <summary>)

This could be fixed with

details:has(summary:focus-within) {
  border-color: var(--accent);
  outline: .2em solid var(--accent);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    visualA visual issue, affecting the appearance of pages. Can be usability-related or simply aesthetic.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions