Astro Dev Toolbar Audit: False positive on anchors #9422
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
feat: toolbar
Related to dev toolbar (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
In the minimal reproducible example, i have two anchors, within these anchors there is an svg, in the first case the indentation of the html itself generates a false positive in the audit panel of the dev toolbar:
Element in red
Element in green
The only thing that changes between this anchors is the space at the end of the anchor tag
</a>
I also check lighthouse and gives a
10/10
in accessibility.What's the expected result?
The expected result is that both elements have the same audit, not conditioned by the parser.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-dqtpmf?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: