From b236a955e24502aa8bbb3d9bbcc19a06d29f6e70 Mon Sep 17 00:00:00 2001 From: Bharat Yadav Date: Wed, 8 Jul 2020 11:06:22 +0200 Subject: [PATCH] Add attributes to sub nav Desired functionality: If the menu has a list of items, then it is supposed to open the list on and if opend already then close the list on Resolved: by adding <"aria-expanded": false,> in --- js/jquery-accessibleMegaMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/jquery-accessibleMegaMenu.js b/js/jquery-accessibleMegaMenu.js index 353a10f..88b580a 100644 --- a/js/jquery-accessibleMegaMenu.js +++ b/js/jquery-accessibleMegaMenu.js @@ -876,6 +876,7 @@ limitations under the License. // Add attributes to sub nav. topnavitempanel.attr({ "role": "region", + "aria-expanded": false, "aria-hidden": true }) .addClass(settings.panelClass)