Skip to content

Incorrect contrast ratio calculation due to incorrect font size #293

@jducrot

Description

@jducrot

I have a link with a font size of 18px getting flagged incorrectly for not having high enough contrast ratio with its background. The problem is the calculated font size which axe is seeing at 13.5pt. As you can see here http://leaverou.github.io/contrast-ratio/#rgb%2839%2C%20124%2C%20173%29%20-on-rgb%28245%2C245%2C245%29 at 18px this shouldn't get flagged as a WCAG AA validation.

addemail_console

add_email_axe

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions