Genesis Accessible Dropdown Menu

Created by: Rian Rietveld

Rating:
Downloaded: 2k times

Since Genesis version 2.0 SuperFish has been deprecated for HTML5 installs.
This plugin adds the missing keyboard accessibility for the dropdown menu’s again.

This is a modified version of the Keyboard Accessible Dropdown Menus Plugin by Amy Hendrix and Graham Armfield
Original code at http://github.com/sabreuse/accessible-menus and https://wordpress.org/plugins/accessible-dropdown-menus/

Modified: – included separate stylesheet in stead of inline style
– changed javascript and CSS to fit Genesis 2.0 class-references

The JavaScript adds the class wpacc-hover to the li.menu-item of a link on hover or focus
The CSS wpacc-hover changes the ul.submenu from
left: -9999px;
opacity: 0;
into
left: auto;
opacity: 1;

Tested with the Genesis Framework version 2.0.1

This plugin only works on the Genesis Framework version 2.0 and higher.

Screenshots

    Categories

    Get New Themes & Resources