Rule label-content-name-mismatch doesn't seem to account for formatting markup. Example:
<button aria-label="button label">button<br>label</button>
Will return a violation.
Product: axe-core
Expectation: Formatting should be disregarded.
Actual: The string is compared directly so any HTML tabs present cause a violation
Motivation:
axe-core version: 4.1.3
axe-webdriver, extension or other integration version: X.Y.Z
Browser and Assistive Technology versions
For Tooling issues:
- Node version: XX
- Platform:
Rule label-content-name-mismatch doesn't seem to account for formatting markup. Example:
Will return a violation.
Product: axe-core
Expectation: Formatting should be disregarded.
Actual: The string is compared directly so any HTML tabs present cause a violation
Motivation: