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
When an incomplete color contrast is blocked by a background image, there's some additional metadata included in the node result:
nodes: [{ any: [{ data: { contrastRatio: 0, expectedContrastRatio: "3:1", fgColor: "#000000", fontSize: "36.0pt (48px)", fontWeight: "normal", messageKey: "bgImage" } }] }]
However, when an incomplete color contrast issue is blocked by a pseudo element, the node result's data is mostly empty:
data: { messageKey: "pseudoContent" }
axe-core should still include any additional information that can be reasonably included so that data can be used for other things.
The text was updated successfully, but these errors were encountered:
I think we can do that, at least for some of them. We'll put it on the list.
Sorry, something went wrong.
For my purposes, the only values I would be interested in would be the expectedContrastRatio and font values.
expectedContrastRatio
No branches or pull requests
When an incomplete color contrast is blocked by a background image, there's some additional metadata included in the node result:
However, when an incomplete color contrast issue is blocked by a pseudo element, the node result's data is mostly empty:
axe-core should still include any additional information that can be reasonably included so that data can be used for other things.
The text was updated successfully, but these errors were encountered: