Skip to content

a11y: appendix code <details><summary> fails color-contrast #14383

Open

Description

@cderv

Reported in #14373.

Repro: https://github.com/alexpghayes/quarto-accessibility-reprex (post/post-1)

axe rule: color-contrast · impact: serious · tag: wcag2aa (1.4.3)
Target: .quarto-appendix-contents > .cell > details > summary — rendered as <summary>Code</summary>

The appendix "Code" disclosure summary is styled with a foreground color that fails WCAG AA contrast against the appendix background.

Part of #8706.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilitybugSomething isn't workingthemesRelated to HTML theming or any other style related issue (like highlight-style)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions