이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Accessible Dropdown Menus

설명

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/

    FAQ

    Will this work with any theme?

    We can’t guarantee that it works in all themes, but it now works with many more than in earlier versions. It has been tested in Twenty Ten through Twenty Thirteen, themes based on Automattic’s Underscores base theme, and a number of others. The plugin looks for the “navigation” ARIA role rather than any particular ID, so it should work in most themes that correctly implement roles.

    What about child themes?

    If the plugin works in a parent theme, it should work in child themes based on that parent. However, because of the nature of child themes, this cannot be guaranteed.

    후기

    2018년 4월 14일
    This tiny plugin enables tab navigation through the Wordpress menu bar. It doesn't allow use of the arrow keys or add screenreader labels. It is, however, a very easy way to improve your site's navigability.
    모든 3 평가 읽기

    기여자 & 개발자

    “Accessible Dropdown Menus”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

    기여자

    자국어로 “Accessible Dropdown Menus”(을)를 번역하세요.

    개발에 관심이 있으십니까?

    코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

    변경이력

    0.4

    • Extend to multiple themes: now works with all the Twenties, themes based on Underscores, and many others, provided they correctly use ARIA role=navigation for menus.
    • JavaScript refactoring for better performance.

    0.3

    • Fix an issue that caused the keyboard access code to break mobile navigation.
    • Completely replace the original JavaScript to modernize the code and allow for licensing.

    0.2

    • Pre-release build for client needs. Compatible with Twenty Twelve & Twenty Thirteen.
    • Correctly enqueue scripts.
    • Reformat README for Plugin Repo submission.

    0.1

    • Original version.