You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The color contrast tool does not work correctly on fonts that are sized with decimals. I've seen this fail in Chrome with an element that had a size of 10pt, which was rendered at 13.3333px and showed up as a large font that only needs to have a 3.0 contrast ratio.
I looked through your code and found the issue, but it is a problem in the axs.utils.isLargeFont function of the GoogleChome accessibility-developer-tools. So opened this issue for you: GoogleChrome/accessibility-developer-tools#345
My pull request on Google's accessibility-developer-tools has sat unmerged for the last 9 months, so I simply made the change in my local version of tota11y. You can see the unminified changes in Google's repository. I hope that helps.
The color contrast tool does not work correctly on fonts that are sized with decimals. I've seen this fail in Chrome with an element that had a size of 10pt, which was rendered at 13.3333px and showed up as a large font that only needs to have a 3.0 contrast ratio.
See a sample of this here:
http://output.jsbin.com/vutotup
I looked through your code and found the issue, but it is a problem in the
axs.utils.isLargeFont
function of the GoogleChome accessibility-developer-tools. So opened this issue for you:GoogleChrome/accessibility-developer-tools#345
and created this pull request:
GoogleChrome/accessibility-developer-tools#346
I hope it works out for you, since I really like the tool. Thanks!
The text was updated successfully, but these errors were encountered: