Skip to content

color contrast issues #4871

@pkra

Description

@pkra

While working on w3c/aria#2410 I found some contrast issues that can also be observed on https://respec.org/docs/.

  • TOC
    • light & dark mode: "Tables of Content" has insufficient contrast (due to var(--tocsidebar-heading-text))
    • dark mode: .toc code {#005a9c} leads to insufficient contrast
  • highlight.js: in dark mode, the color theme causes contrast issues in most code snippets, in particular html.
  • WebIDL: in light mode, "WebIDL" has insufficient contrast (.idlHeader { color: var(--defrow-border,#fff)})

I'll update this issue if I find more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions