Switch branches/tags
Nothing to show
Find file History



Accessible dropdown menus for WordPress themes.

The header.php is an example of where this code would be most likely to be placed. As with all items in the WordPress theme accessibility pattern library, only the specific elements relevant to the demo are included.

= Basic =

This is a basic accessible dropdown menu with minimal styles.

= Vanilla JS =

This offers similar functionality to the above, but is coded without jQuery. Replace the text 'yourtheme' with you're theme slug.