We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to wcag for large text bold you need to be at least 14pt = 18.5px
https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html#visual-audio-contrast-contrast-73-head
This tool defines 18px as a success due to way it rounds however google lighthouse/axe marks it a fail since 13.5pt isn't 14pt
WCAG's own documentation states
The ratio between sizes in points and CSS pixels is 1pt = 1.333px, therefore 14pt and 18pt are equivalent to approximately 18.5px and 24px.
So based on this I don't think the tool should round 13.5pt to 14pt since it's a WCAG fail.
The text was updated successfully, but these errors were encountered:
Fix for moroshko#76 rounding pt/px issue
706e7a9
No branches or pull requests
According to wcag for large text bold you need to be at least 14pt = 18.5px
https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html#visual-audio-contrast-contrast-73-head
This tool defines 18px as a success due to way it rounds however google lighthouse/axe marks it a fail since 13.5pt isn't 14pt
WCAG's own documentation states
The ratio between sizes in points and CSS pixels is 1pt = 1.333px, therefore 14pt and 18pt are equivalent to approximately 18.5px and 24px.
So based on this I don't think the tool should round 13.5pt to 14pt since it's a WCAG fail.
The text was updated successfully, but these errors were encountered: