Skip to content

Accessibility improvement : section icon has insufficient contrast #5338

Description

@tfrancart

Accessibility reports have reported an issue on the section symbol having insufficient contrast.

Image

Excerpt and suggested fix:

The section symbol (§) uses the colour #80adce on a background colour white #ffffff. This combination results a contrast ratio of 2.4:1, which fails the WCAG requirement of 4.5:1 for text smaller than 18pt/24px.
The section symbol shares the same colour as its heading (#005a9c) but at 50% opacity, which is why it currently fails WCAG contrast standards.
By slightly increasing the opacity to 80% (colour #337bb0), we can ensure it meets the required 4.6:1 contrast ratio.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions