robincornett / genesis-accessible

This plugin fixes some accessibility issues with the Genesis Framework
28 stars 9 forks source link

Dropdown script #8

Closed GaryJones closed 9 years ago

GaryJones commented 10 years ago

While the genwpacc-dropdown.js code looks considerably better now it's in a module, it still has some issues:

I've created a new jQuery plugin: https://github.com/GaryJones/accessible-menu . It:

If you want to update your script with the code from my plugin, go ahead.

In the grand scheme of things though, I'd like to see Genesis Accessible dropping the current script, and just enabling and configuring the Superfish script that Genesis already includes. That already enables keyboard support, delay mouseleave, but also touch events, support for hoverIntent and so on and will be far better tested in real-world scenarios than either your current script or my plugin.

rianrietveld commented 9 years ago

Using SuperFish is indeed a better solution, I agree, since it's already in Genesis. And If Genesis drops SuperFish support, we can always add it to the plugin. Will look into that.

Nice plugin, your accessible-menu, by the way :-)

rianrietveld commented 9 years ago

Closing this, SuperFish is a no go for G 2.2. And this file is only used for < Genesis 2.2. Above, it uses the one from Genesis core, that is exactly the same.