Skip to content

Text that is hyperlinked in a "note" callout fails accessibility checks #65

@phrdang

Description

@phrdang

Text that is hyperlinked in a Just the Docs "note" callout fails accessibility checks due to having not enough color contrast. This may be an issue with the way axe lints this because the background and foreground colors seem incorrect? Not sure.

Example Markdown text that causes the error:

{: .note }
If sections already exist, reimporting them will result in [duplicate sections](https://github.com/Cal-CS-61A-Staff/berkeley-cs61a/issues/7788). See [Updating existing sections](#updating-existing-sections).

Example failed PR job run: https://github.com/berkeley-cdss/docs/actions/runs/17559665899/job/49872617670?pr=33

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11yaccessibility

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions