W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > July to September 2004

RE: [techs] scripts

From: Doug Gibson <dgibson@dgibson.net>
Date: Thu, 15 Jul 2004 20:03:05 -0400
To: <w3c-wai-gl@w3.org>
Message-ID: <007b01c46ac8$450167e0$6501a8c0@death>

That is a nice menu and separation of mouse-keyboard functionality. I
have one observation that I'm curious about, however. In IE6, tabbing
thru the menu results in the highlight color to let you know where focus
is. However shift-tabbing backwards does not show the color change.
Browser bug or Script bug?

Doug Gibson
Cold Fusion Web/Application Developer

-----Original Message-----
From: w3c-wai-gl-request@w3.org [mailto:w3c-wai-gl-request@w3.org] On
Behalf Of James Craig
Sent: Thursday, July 15, 2004 5:41 PM
To: w3c-wai-gl@w3.org
Subject: Re: [techs] scripts

Lisa Seeman wrote:

> To start of the list of inaccessible script generalizations I suggest
> following entry:

I think these are too general. I can think of several examples of 
accessible scripts that do not comply with these generalizations.

> scripts can change there value of an existing attribute or value on an
> existing tags/elements

You phrasing here is unclear. Are you for or against scripts that can 
change these values?

> scripts should not create a new dom element

Then how should the DOM methods be used? Would you have the WCAG 
recommendation claim that parts of the DOM recommendation are 
problematic? I don't think they are.

It is unrealistic to discourage functionality written into another 
standard. Instead, we should encourage accessible use of those 
standards. As far as I know, all the DOM methods can be used in an 
accessible manner.

Consider the following DHTML menu script. All the sub-level menus are 
written into the DOM dynamically using the document.createElement() and 
element.appendChild() methods.


Yet the script is accessible because those menus are not essential to 
the functionality of the site. They are an added benefit to the majority

of users who will visit the site with a mouse and a scripting engine 
available. Perhaps this one should say something like:

"Scripts should not create a new DOM element if that element is 
essential to the functionality of the resource."


Received on Thursday, 15 July 2004 20:01:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:33:50 UTC