-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Audit incorrectly flags "image" as an “Unknown ARIA role” #16032
Copy link
Copy link
Closed
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)pkg: astroRelated to the core `astro` package (scope)Related to the core `astro` package (scope)
Description
Astro Info
Astro v6.0.8
Vite v7.3.1
Node v22.22.1
System Linux (arm64)
Package Manager npm
Output static
Adapter none
Integrations none
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
The audit feature incorrectly flags image as an “Unknown ARIA role”.
The image role was added in ARIA 1.3, and the img role has persisted as a synonym.
What's the expected result?
image should be permitted as a valid role value.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-fzty4hba?file=src%2Fpages%2Findex.astro
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)pkg: astroRelated to the core `astro` package (scope)Related to the core `astro` package (scope)