From 9f369a58a99372d2ffb86b8897aa28c83cf2f8cb Mon Sep 17 00:00:00 2001 From: Viktor Kratz Date: Sat, 19 Oct 2024 21:40:30 +0200 Subject: [PATCH] fix(VMenu): Use correct aria handling for menus. Because of the use of aria-own, vmenu's could not be used with screen readers. --- packages/vuetify/src/components/VMenu/VMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vuetify/src/components/VMenu/VMenu.tsx b/packages/vuetify/src/components/VMenu/VMenu.tsx index dca8145e8d7..340f20310ef 100644 --- a/packages/vuetify/src/components/VMenu/VMenu.tsx +++ b/packages/vuetify/src/components/VMenu/VMenu.tsx @@ -203,7 +203,7 @@ export const VMenu = genericComponent()({ mergeProps({ 'aria-haspopup': 'menu', 'aria-expanded': String(isActive.value), - 'aria-owns': id.value, + 'aria-controls': id.value, onKeydown: onActivatorKeydown, }, props.activatorProps) )