diff --git a/README.md b/README.md index 98f2b7c..250f522 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ -MeanMenu v2.0.8 +MeanMenu v2.0.11 =========== - Looking for a WordPress version? --- Our friends over at PluginHero have just released the WordPress version of MeanMenu. @@ -40,6 +39,10 @@ Then in your usual document.ready, this is working under the assumption your nav There are the following options (Options are shown with their defaults)... +meanAria: true + +- Adds `aria-expanded`, `aria-label` and `role` attributes for better accessibility and WCAG compliance + meanMenuContainer: 'body' - Choose where meanmenu will be placed within the HTML @@ -74,7 +77,7 @@ meanScreenWidth: "480" meanNavPush: "" -- Set a height here in px, em or % if you want to budge your layout now the navigation is missing. +- Set a height here in px, em or % if you want to budge your layout now the navigation is missing meanShowChildren: true @@ -88,6 +91,14 @@ meanExpand: "+" - single character you want to represent the expand for ULs +meanExpandPostion: "after" + +- Set to either before or after to change where the expand/contract icon is inserted in the list markup. Useful for accessibility tweaks + +meanSpeed: 300 + +- an integer that sets the speed of all animations in milliseconds. 1000 = 1 second + meanContract: "-" - single character you want to represent the contract for ULs diff --git a/demo.html b/demo.html index 369ddd0..91161c5 100644 --- a/demo.html +++ b/demo.html @@ -124,7 +124,11 @@