plugin-icon

Accessible Dropdown Menus

Makes dropdown menus in many WordPress themes keyboard accessible.
등급
4.3/5
버전
0.4.1
활성화된 설치 항목
200
최근 업데이트일
Jun 28, 2013

Purpose:

Many sites have dropdown menus where the expanding of the links can only be triggered by a mouse hover. This means that for keyboard only users parts of the site are harder or sometimes impossible to reach.

This plugin makes these dropdown menus keyboard accessible. When tabbing through the primary navigation the sub level menus will become visible and users will be able to tab to the lower level links.

The current version has been tested by both sighted keyboard-only users and screen reader users. If it doesn’t work for your reader, please let us know!

How it Works:

The plugin uses a combination of CSS and javascript to enable the dropdown menus to be keyboard controlled.

Using the script, whenever a link in the menu gets focus its containing list item (

  • ) is given the necessary class. This enables the new CSS definitions to open any hidden submenus and bring those links into the tabbing order.
  • In the absence of javascript the full submenu lists may not open but the individual sub-links can be tabbed to.

    Credits:

    Current version built and maintained by Amy Hendrix.

    The original version of this plugin was built by Graham Armfield. It is still available at http://www.coolfields.co.uk/2011/12/wordpress-keyboard-accessible-dropdown-menus-plugin-version-0-1/

    The mechanism used in this plugin is based on the same logic used in Blake Haswell’s excellent example of a multi-level accessible dropdown menu. You can find it at: http://blakehaswell.com/lab/dropdown/deux/

    무료Business 요금제에서
    설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
    테스트된 버전
    WordPress 3.6.1
    이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.