violation message string contains interpolated value, but is verbatim in JSON report #3384
Labels
fix
Bug fixes
pr
A pr has been created for the issue
rule metadata
Issues in the rule metadata code (lib/rules)
Product: axe-core
Expectation: violation message string interpolation should work
Actual: message appears verbatim, variable not substituted
Motivation: user text is not useful
Source reference:
axe-core/lib/checks/aria/deprecatedrole.json
Line 8 in f583c70
Verbatim message:
The role used is deprecated: ${data.values}
:To reproduce, create
index.html
and open in web browser + inspect debugger console to see Axe's JSON output:The text was updated successfully, but these errors were encountered: