Browse files

Accordion: Added keyboard navigation notes.

  • Loading branch information...
scottgonzalez committed Sep 3, 2012
1 parent e855f84 commit b480caab0c8bd2cef6b8fd4c021edac97c795a94
Showing with 16 additions and 0 deletions.
  1. +16 −0 entries/accordion.xml
@@ -16,6 +16,22 @@
<p>Accordions support arbitrary markup, but each content panel must always be the next sibling after its associated header. See the <a href="#option-header"><code>header</code></a> option for information on how to use custom markup structures.</p>
<p>The panels can be activated programmatically by setting the <a href="#option-active"><code>active</code></a> option.</p>
+ <h3>Keyboard navigation</h3>
+ <p>When focus is on a header, the following key commands are available:</p>
+ <ul>
+ <li>UP/LEFT - Move focus to the previous header. If on first header, moves focus to last header.</li>
+ <li>DOWN/RIGHT - Move focus to the next header. If on last header, moves focus to first header.</li>
+ <li>HOME - Move focus to the first header.</li>
+ <li>END - Move focus to the last header.</li>
+ <li>SPACE/ENTER - Activate panel associated with focused header.</li>
+ </ul>
+ <p>When focus is in a panel:</p>
+ <ul>
+ <li>CTRL+UP: Move focus to associated header.</li>
+ </ul>
<note id="functional-css"/>

0 comments on commit b480caa

Please sign in to comment.