Please select a category and click GO
UK Residents: Get great deals on high quality designer bathroom fittings from plumbfit.com

Plumbfit: Basin mixers, showers, taps, towel radiators Plumbfit: Bathroom showers, taps, towel radiators Plumbfit: Bathroom taps, showers, taps, towel radiators Plumbfit: Concealed showers, taps, towel radiators Plumbfit: Exposed showers, taps, towel radiators Plumbfit: Towel rails, showers, taps, towel radiators

Go Back Community for Webmasters & Developers > Client-Side Technology Forums > Accessibility Forum
Reload this Page Device-Independent Alternative to onmouseover
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Accessibility Forum Seeking help with accessibility guidelines or usability issues? We'll lend a hand.

Time:
Scotland: Fri, 4:29 am
Rhode Island: Thu, 11:29 pm
Florida: Thu, 11:29 pm
New Mexico: Thu, 9:29 pm
California: Thu, 8:29 pm

Click here to visit Livelife365.com

Click here to visit nmdarts.com



Buy this Ad Space.

180px wide.

Please get in touch with KH@ if you are interested and make an offer.

Selanac Embroidery and Screen Printing

Embroidery
Screen Printing
Signs and Banners
Promotional Advertising

WEBSITE

Contact Paul Canales
TEl: USA 732-901-8417
CELL: USA 732-773-1339


Please click here for more information

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-23-2004, 06:53 PM
hotpepper hotpepper is offline
Moderator
 
Join Date: Jun 2001
Location: Canada
Posts: 3,461
hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers
Device-Independent Alternative to onmouseover

Hi all,

I am using Site Valet to check my website for accessibility. I use DHTML to make my submenus appear and disappear. The DHTML is triggered by the onmouseover and onmouseout event handlers on the parent menu items. However, Site Valet says that according to 12.4 of W3C's Web Content Accessibility Guidelines 1.0 JavaScript, such actions are device-dependant, and are thus discouraged. Does anyone know of an accessible alternative to this?

Last edited by flashjunkie : 04-23-2004 at 07:00 PM.
Reply With Quote
  #2  
Old 04-24-2004, 12:36 AM
diades's Avatar
diades diades is offline
Administrator
 
Join Date: Feb 2001
Location: Glasgow, Scotland
Posts: 16,546
diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in
Hi Flash

I am thinking that bu "device-dependant" they mean that the user may not have a mouse and would not.therefore, be able to use the menu. Is your script set up to use a hot key to trigger the menu instead of a mouse as an alternative? Would that do the trick?
Reply With Quote
  #3  
Old 04-26-2004, 03:04 PM
hotpepper hotpepper is offline
Moderator
 
Join Date: Jun 2001
Location: Canada
Posts: 3,461
hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers
I know what "device-dependence" is. I just wanted to know if there was an alternative to it.

I have hot keys set up, but they do not trigger the submenu; they simply activate the parent link. If I was able to set the hot key to trigger the submenu, how would the submenu disappear (which is normally accomplished onmouseout)?

Last edited by flashjunkie : 04-26-2004 at 04:04 PM.
Reply With Quote
  #4  
Old 04-26-2004, 03:12 PM
diades's Avatar
diades diades is offline
Administrator
 
Join Date: Feb 2001
Location: Glasgow, Scotland
Posts: 16,546
diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in
Hi Flash
Quote:
I know what "device-dependence"
I was just "thinking aloud", not thinking that you were short a few grey-cells, Sorry Flash
How about trying onfocus and onblur?
Reply With Quote
  #5  
Old 04-26-2004, 04:06 PM
hotpepper hotpepper is offline
Moderator
 
Join Date: Jun 2001
Location: Canada
Posts: 3,461
hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers
But wouldn't trying to advance to the submenu items trigger an onblur event on the parent link?
Reply With Quote
  #6  
Old 04-26-2004, 04:13 PM
diades's Avatar
diades diades is offline
Administrator
 
Join Date: Feb 2001
Location: Glasgow, Scotland
Posts: 16,546
diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in
Hi Flash

Not if you use:

event.cancelBubble = true (there is a moz equivalent)

which, prevents the event "bubbling" up the tree.
Reply With Quote
  #7  
Old 04-27-2004, 08:20 AM
fredmv fredmv is offline
Lurker
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 795
fredmv is a glorious beacon of light; ignite the blue touch paper and see for yourself fredmv is a glorious beacon of light; ignite the blue touch paper and see for yourself fredmv is a glorious beacon of light; ignite the blue touch paper and see for yourself
Quote:
Originally Posted by diades
(there is a moz equivalent)
Which is:
Code:
arguments[0].stopPropagation();

Last edited by fredmv : 04-27-2004 at 08:26 AM.
Reply With Quote
  #8  
Old 04-27-2004, 10:24 AM
diades's Avatar
diades diades is offline
Administrator
 
Join Date: Feb 2001
Location: Glasgow, Scotland
Posts: 16,546
diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in diades has a brilliant future when plugged in
Thanks Fred

I can find anything I need on MSDN, but I have a trouble on the moz site, don't know why, there is no aversion to it
Reply With Quote
  #9  
Old 04-29-2004, 04:13 PM
Daz Daz is offline
Moderator
 
Join Date: Mar 2001
Location: N.Ireland
Posts: 1,001
Daz will become famous soon enough; the newspapers have the full story now
Send a message via MSN to Daz
What you need flashjunkie is an accessible drop down menu and our good friend brothercake has developed just that
http://www.brothercake.com/dropdown/
Reply With Quote
  #10  
Old 04-29-2004, 04:39 PM
hotpepper hotpepper is offline
Moderator
 
Join Date: Jun 2001
Location: Canada
Posts: 3,461
hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers
That's perfect! Thanks Daz.

The only problem I have with it is that none of the nested lists show up in NN4.7.
Reply With Quote
  #11  
Old 04-30-2004, 05:11 PM
hotpepper hotpepper is offline
Moderator
 
Join Date: Jun 2001
Location: Canada
Posts: 3,461
hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers hotpepper is splendid to behold, wearing underpants outside trousers
Well, it sure looks nice.

After reviewing it, I'm not sure i like it. At least not from a designer/developer point of view. It's almost 100KB. It is fairly customisable, but it somewhat limited.

I'd give it 3.5 stars out of five. I wish I could make something like this on my own, but it's way beyond my ability.
Reply With Quote
  #12  
Old 05-03-2004, 08:22 AM
fredmv fredmv is offline
Lurker
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 795
fredmv is a glorious beacon of light; ignite the blue touch paper and see for yourself fredmv is a glorious beacon of light; ignite the blue touch paper and see for yourself fredmv is a glorious beacon of light; ignite the blue touch paper and see for yourself
Actually, Flash, there are a light versions of James' accessible menu available that you may be interested in.

Last edited by fredmv : 05-03-2004 at 08:24 AM.
Reply With Quote
  #13  
Old 05-10-2004, 04:10 PM
Daz Daz is offline
Moderator
 
Join Date: Mar 2001
Location: N.Ireland
Posts: 1,001
Daz will become famous soon enough; the newspapers have the full story now
Send a message via MSN to Daz
Quote:
Originally Posted by flashjunkie
That's perfect! Thanks Daz.

The only problem I have with it is that none of the nested lists show up in NN4.7.
The main headings show up, find a way of displaying the sub menu items and you're still providing an accessible alternative. I think there comes a point when you say a certain group of users has to put up with an ugly version of your site - if they can't be bothered upgrading from a poor, out of date unstable browser then they can't expect to get a normal web experience.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Device problem diades General Development and Computers Forum 1 06-01-2005 03:21 AM
Mouse issue anshemoshoken General Development and Computers Forum 0 12-27-2003 03:52 AM
Windows Restarting Unexpectingly? Carl V General Development and Computers Forum 9 10-23-2002 05:59 PM
HTMLwebpage to PDA device muscle HTML, XHTML, and CSS Forum 1 09-04-2002 05:43 PM
SystemMicrosoft Windows Update: irrelevant device drivers now?? jonsteele General Development and Computers Forum 10 01-27-2002 02:33 AM


All times are GMT +1. The time now is 04:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2010, WebXpertz.com. All Rights Reserved.