From 52b89f1ca67b2c04b8e96495cd6fe601e5c3eb54 Mon Sep 17 00:00:00 2001 From: Gerrit Alex Date: Tue, 15 Sep 2020 22:17:45 +0200 Subject: [PATCH] fix(aria-roles): add group to menuitemradio context (#2518) --- lib/standards/aria-roles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/standards/aria-roles.js b/lib/standards/aria-roles.js index 17383e4049..cb52d84240 100644 --- a/lib/standards/aria-roles.js +++ b/lib/standards/aria-roles.js @@ -275,7 +275,7 @@ const ariaRoles = { }, menuitemradio: { type: 'widget', - requiredContext: ['menu', 'menubar'], + requiredContext: ['menu', 'menubar', 'group'], allowedAttrs: [ 'aria-checked', 'aria-posinset',