Skip to content

Commit 31d733b

Browse files
Remove menuitemradio from non-interactive ARIA roles in dev toolbar audit (#16068)
* fix(a11y): remove menuitemradio from non-interactive roles list * Add missing full stop to changeset --------- Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
1 parent d402485 commit 31d733b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Fixes the dev toolbar a11y audit incorrectly classifying `menuitemradio` as a non-interactive ARIA role.

packages/astro/src/runtime/client/dev-toolbar/apps/audit/rules/a11y.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ const aria_non_interactive_roles = [
9191
'main',
9292
'marquee',
9393
'math',
94-
'menuitemradio',
9594
'navigation',
9695
'none',
9796
'note',

0 commit comments

Comments
 (0)