Skip to main content

Home/ Web Development, Design & Programming/ Group items tagged pattern

Rss Feed Group items tagged

Vernon Fowler

Accordion Pattern - Design Pattern Library - YDN - 2 views

  • Have the most important panel open by default
  • Accordions may be configured to require that there is always a single panel open or to allow for more flexible possibilities (all panels closed, multiple panels open). Some practitioners consider it a best practice to permit only one panel to be open at a time, but others disagree.
  • For keyboard users an accordion usually ends up behaving either as a tree view or as a tab view.
  • ...2 more annotations...
  • An accordion should degrade into something useful when Javacript is off, perhaps opening all panels.
  • Display none shouldn’t be used as this might hide the content from a screen reader. Instead consider setting a height of 0.
1 - 7 of 7
Showing 20 items per page