1

If you must use a dropdown menu, make sure it’s keyboard friendly

 

Dropdown menus (a.k.a. flyout or DHTML menus) are fine as long as such menus are implemented in an accessible way, which to a large extent means making them keyboard friendly.

Unfortunately, most dropdown menus which we come across in the wild are not keyboard friendly. A couple of common examples:

* No real links: Sub-level links cannot be revealed without using a mouse, and top-level items are not linked to sub-pages. Not revealing the sub-menus for non-mouse users may be ok if the top-level items are actual links to pages that contain the sub-level links in a normal, visible sub-menu. That way the dropdown menus do not prevent people from navigating the site and can be seen as an enhancement for users who like them.
* Tabbing black hole: Sub-level links are not displayed on focus but exist in the tab order, which makes them technically accessible but also creates a “tabbing black hole” for non-mouse users. Since there is no visual feedback unless you use a mouse they are extremely difficult to use.

Next time you implement a dropdown menu, please make sure to avoid these problems.

Tags: , , , , , , , ,

 
0

Validation in Flex with Hamcrest-AS3

Posted by Joel Hooks on Nov 20, 2009 in Flex, Java  | View Original Article
  Hamcrest? No, it isn't a fancy sandwich topping. Hamcrest is a framework for creating matchers, allowing matching rules to be defined declaratively (from Wikipedia). Hamcrest has been used by many popular unit testing frameworks including JUnit and FlexUnit 4. Hamcrest-AS3...

Tags: , , , ,

 
0

Potomac – Bringing OSGi Modularity to Flex

Posted by Chris Gross on Oct 1, 2009 in Flex, Java  | View Original Article
  OSGi is taking over the Java world. The modularity features offered by OSGi have become so popular that it seems like all the major Java enterprise applications and frameworks have adopted OSGi or have plans to. Products and frameworks such as Eclipse (and therefore Flex Builder), Spring, Websphere, Guice, Weblogic, and JBoss all use OSGi. Even organizations such as NASA have adopted OSGi. So what is OSGi and why is it so popular? This article will try to answer those questions and introduce you to Potomac - the new OSGi inspired framework for Flex.

Tags: , , , , , , ,

Copyright © 2010 Answer My Query All rights reserved. Maintained by Orange Brains .