-
Notifications
You must be signed in to change notification settings - Fork 881
target-size rule contains typos #4148
Copy link
Copy link
Closed
Labels
rule metadataIssues in the rule metadata code (lib/rules)Issues in the rule metadata code (lib/rules)
Milestone
Description
Product
axe-core
Product Version
4.8.0
Latest Version
- I have tested the issue with the latest version of the product
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
rule metadataIssues in the rule metadata code (lib/rules)Issues in the rule metadata code (lib/rules)
Type
Fields
Give feedbackNo fields configured for issues without a type.