target-size
rule contains typos
#4148
Labels
rule metadata
Issues in the rule metadata code (lib/rules)
Milestone
Product
axe-core
Product Version
4.8.0
Latest Version
Issue Description
Expectation
Failure message ends with:
"Safe clickable space has a diameter of 10px instead of at least 24px"
10px is just an example value.
Actual
Failure message ends with:
"Safe clickable space has a diameter of {$data.closestOffset}px instead of at least 24px)"
It appears that the actual
data.closestOffset
value is not being filled in. There is also an unpaired)
at the end of the string that I think should be removed.How to Reproduce
Any code that fails the
target-size
rule.Additional context
#4117
The text was updated successfully, but these errors were encountered: