Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive missing content audit on links with svg title #9551

Closed
1 task
fflaten opened this issue Dec 29, 2023 · 0 comments · Fixed by #9567
Closed
1 task

False positive missing content audit on links with svg title #9551

fflaten opened this issue Dec 29, 2023 · 0 comments · Fixed by #9567
Labels
feat: toolbar Related to dev toolbar (scope) needs triage Issue needs to be triaged

Comments

@fflaten
Copy link
Contributor

fflaten commented Dec 29, 2023

Astro Info

Astro                    v4.0.8
Node                     v18.19.0
System                   Linux (x64)
Package Manager          pnpm
Output                   static
Adapter                  none
Integrations             config-watcher
                         auto-import
                         astro-icon
                         @astrojs/sitemap
                         @astrojs/asides
                         astro-expressive-code
                         @astrojs/mdx

If this issue only occurs in one browser, which browser is a problem?

Edge

Describe the Bug

Using a anchor with only svg icon produces false positive on missing content audit rule.

<a href="...."><svg> <title>Bluesky</title> <symbol>....</symbol></svg></a>

image

What's the expected result?

No issues reported. Using Accessibility tab in Edge Dev Tools to view the anchor-element shows that title from svg should be enough
image

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-baruvc?file=src%2Fpages%2Findex.astro

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Dec 29, 2023
@fflaten fflaten changed the title False positive missing content audit on links with svg including title False positive missing content audit on links with svg title Dec 29, 2023
@bluwy bluwy added the feat: toolbar Related to dev toolbar (scope) label Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: toolbar Related to dev toolbar (scope) needs triage Issue needs to be triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants