homepage Welcome to WebmasterWorld Guest from 54.161.202.106
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Accessibility and Usability
Forum Library, Charter, Moderators: ergophobe

Accessibility and Usability Forum

    
DHTML drop down menus
appi2




msg:3377400
 4:11 pm on Jun 24, 2007 (gmt 0)

I've been playing with making drop down menus work with both mouse and keyboard navigation.
Basically take the default css (suckerfish) style drop down and add unique id's for each ul tag and add an onfocus for each <a href tag that calls about nine lines of js to allow keyboard navigation.

So whats the problem?

Well now I've got a menu that fully works and is accsessable by both mouse & keyboard as long as js is enabled.

If js is disabled the dropdown with mouse still works but the keyboard doesn't activate the dropdown, which is always the case with suckerfish style menus. At least the status bar shows the URL.

So what's the question?
Should I feel good or bad that I've made something more accessable by using the devils js?
Have i gone forward or backward in terms of accessibility?

 

lavazza




msg:3377583
 9:37 pm on Jun 24, 2007 (gmt 0)

Should I feel good or bad that I've made something more accessable by using the devils js?

Assuming that it works and can be maintained/tweaked/etc, then I reckon you should feel GOOD!

Have i gone forward or backward in terms of accessibility?

I have a hunch you might have gone on a sideways tangent ;)

If you think so too, perhaps the followig might be of interest


w3.org: 17.11 Giving focus to an element
[w3.org]


There are several ways to give focus to an element:

* Designate the element with a pointing device.
* Navigate from one element to the next with the keyboard. The document's author may define a tabbing order that specifies the order in which elements will receive focus if the user navigates the document with the keyboard (see tabbing navigation). Once selected, an element may be activated by some other key sequence.
* Select an element through an access key (sometimes called "keyboard shortcut" or "keyboard accelerator").

[edited by: pageoneresults at 12:40 pm (utc) on June 25, 2007]
[edit reason] Trimmed Quote - Please Refer to TOS [/edit]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Accessibility and Usability
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved