Genesis Accessible Dropdown Menu

0

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 versi

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tags
This plugin is outdated and might not be supported anymore.

Description

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.