From 25be4526e10b510babd1a6486523992a167f96f8 Mon Sep 17 00:00:00 2001 From: Melloware Date: Wed, 29 May 2024 11:04:09 -0400 Subject: [PATCH] Fix #6704: TieredMenu remove aria-level (#6705) --- components/lib/tieredmenu/TieredMenuSub.js | 1 - 1 file changed, 1 deletion(-) diff --git a/components/lib/tieredmenu/TieredMenuSub.js b/components/lib/tieredmenu/TieredMenuSub.js index 649f50fca3..84658cb0fe 100644 --- a/components/lib/tieredmenu/TieredMenuSub.js +++ b/components/lib/tieredmenu/TieredMenuSub.js @@ -251,7 +251,6 @@ export const TieredMenuSub = React.memo( 'aria-disabled': disabled, 'aria-expanded': grouped ? active : undefined, 'aria-haspopup': grouped && !url ? 'menu' : undefined, - 'aria-level': props.level + 1, 'aria-setsize': getAriaSetSize(), 'aria-posinset': getAriaPosInset(index), 'data-p-highlight': active,