473,769 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

508 compliance and Javascript

Hi all, looking for a little bit of help.....I'm currently in the
process of trying to understand the impact of the 508 guidelines on a
web site that I am involved with, and I have a question surrounding the
use of Javascript. The site currently relies on Javascript for
navigating from page to page - I cannot find anything in the 508
guidelines like the 6.3 WAI checkpoint for AA compliance:

"Ensure that pages are usable when scripts, applets, or other
programmatic objects are turned off or not supported. If this is not
possible, provide equivalent information on an alternative accessible
page".

Does this restriction not exist for 508 compliance? Can a site be
considered 508 compliant if it relies on Javascript being enabled?

Thanks

Mar 15 '06 #1
26 11079
wardy wrote:
Hi all, looking for a little bit of help.....I'm currently in the
process of trying to understand the impact of the 508 guidelines on a
web site that I am involved with, and I have a question surrounding the
use of Javascript. The site currently relies on Javascript for
navigating from page to page - I cannot find anything in the 508
guidelines like the 6.3 WAI checkpoint for AA compliance:

"Ensure that pages are usable when scripts, applets, or other
programmatic objects are turned off or not supported. If this is not
possible, provide equivalent information on an alternative accessible
page".

Does this restriction not exist for 508 compliance? Can a site be
considered 508 compliant if it relies on Javascript being enabled?


Section 508 isn't very long--surely you saw paragraph 1194.22(l):

(l) When pages utilize scripting languages to display content, or to
create interface elements, the information provided by the script shall
be identified with functional text that can be read by assistive technology.

Commentary from the Access Board is at
http://www.access-board.gov/sec508/g...194.22.htm#(l).

I've had a Javascript-based drop-down menu, one that expands on clicking
or keyboard activation rather than mouseovers, pass muster from a
Federal agency 508 review team, where the items on each pop-up menu were
positioned right after the link that opened the menu and were
traversible via the tab key when visible, but were left out of the tab
sequence when invisible. (Accomplished using the CSS display attribute.)
Mar 15 '06 #2
Hi Harlan...thanks for the response. I absolutely saw that paragraph,
but there is nothing specifically there that says that a site must
function with Javascript disabled. It talks about "utilize scripting
languages to display content, or to create interface elements", but
this does not imply that the site must work without Javascript. It is
not Javascript that is rendering the controls, but it is Javascript
that is handling clicks on hyperlinks. That is where the grey area
comes in and why I was asking can a site be 508 compliant if it doesn't
work with Javascript disabled

Thanks again

Mar 15 '06 #3
wardy wrote:
Does this restriction not exist for 508 compliance? Can a site be
considered 508 compliant if it relies on Javascript being enabled?


Section 508 has some detailed javascript guidelines, regarding events
that can ror can't be used, or those that can be used with certain
(well-specified) provisos.

Section 508's guidelines are quite a lot easier to test
programmaticall y than WCAG. See http://valet.webthing.com/access/

--
Nick Kew
Mar 16 '06 #4
Gazing into my crystal ball I observed "wardy" <wa*******@gmai l.com>
writing in news:11******** **************@ u72g2000cwu.goo glegroups.com:
Hi Harlan...thanks for the response. I absolutely saw that paragraph,
but there is nothing specifically there that says that a site must
function with Javascript disabled. It talks about "utilize scripting
languages to display content, or to create interface elements", but
this does not imply that the site must work without Javascript. It is
not Javascript that is rendering the controls, but it is Javascript
that is handling clicks on hyperlinks. That is where the grey area
comes in and why I was asking can a site be 508 compliant if it doesn't
work with Javascript disabled

Thanks again


If clicking on a link still goes to the link with javascript disabled, then
you're good to go. If not, you're not.

Best thing to do is to turn javascript off and navigate around the site.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Mar 16 '06 #5
Hi all....thanks for the responses. If I turn Javascript off, then the
site cannot be navigated as it relies on Javascript functionality to
perform functions that allow the navigation to occur. However, the 508
guidelines do not explicitly state that a site must be functional with
Javascript disabled, or at least, I cannot find this statement in the
guidelines. It talks about the use of the OnClick event, which is what
is used by the site on hyperlinks - the 508 guidelines specify:

onClick - The onClick event handler is triggered when the user
clicks once on a particular item. It is commonly used on links and
button elements and, used in connectio with these elements, it works
well with screen readers. If clicking on the element associated with
the onClick event handler triggers a function or performs some other
action, developers should ensure that the context makes that fact clear
to all users. Do not use the onClick event handlers for form elements
that include several options (e.g. select lists, radio buttons,
checkboxes) unless absolutely necessary.

We also use Javascript URL's, which are mentioned in the guidelines as
follows:

Web developers working with JavaScript frequently use so-called
JavaScript URL's as an easy way to invoke JavaScript functions.
Typically, this technique is used as part of <a> anchor links. For
instance, the following link invokes a JavaScript function called
myFunction:

<a href="javascrip t:myFunction(); ">Start myFunction</a>

This technique does not cause accessibility problems for assistive
technology

According to these statements, the use of onClick and Javascript URL's
is fine, and if it triggers a function (which ours does), as long as we
indicate that it does so, then there shouldn't be an issue. Am I
interpreting this correctly? (Unfortunately the validation tools for
this area only bring back warnings and they are manual checks required,
thus my problem interpreting what constitutes non-compliance).

Thanks again

Mar 16 '06 #6
VK

wardy wrote:
Hi all, looking for a little bit of help.....I'm currently in the
process of trying to understand the impact of the 508 guidelines on a
web site that I am involved with, and I have a question surrounding the
use of Javascript. The site currently relies on Javascript for
navigating from page to page - I cannot find anything in the 508
guidelines like the 6.3 WAI checkpoint for AA compliance:

"Ensure that pages are usable when scripts, applets, or other
programmatic objects are turned off or not supported. If this is not
possible, provide equivalent information on an alternative accessible
page".

Does this restriction not exist for 508 compliance? Can a site be
considered 508 compliant if it relies on Javascript being enabled?


Hi, if you are interested in the US situation:

In the US the industry of slippers exists for a long time and there is
a set of reasonable protection measures for businesses against
citizens.
Note: I picked up the term "slippers" from the grocery business. There
it refers to people seeking an opportunity to fail (slip) on floor in
some rich grocery store like Safeway or Wal-Mart to get a good
compensation for a light injury. On a wide run "slipper" refer to any
person seeking an opportunity to get victimized / injured by some rich
business: slip on floor, pour hot coffee on yourself, to be unable to
use public WC on a wheelchair etc.
There is a good set up between certain people with disabilities and
certain lawyers, continuously seeking for new victims.
By now businesses and court system set a rather effective protection
against slippers, where the key line is the "default accessibility
violation or default usage danger". Say in big grocery stores against
of slippers they now have sweepers: these are appointed employees
sweeping the floor on an hourly basis and marking it in a journal. Even
if someone fails - which is always possible - the store has a proof
that all default measures to prevent that have been taken.
For the Web this means that, in order to protect themselves against
web-slippers, a corporate site *by default* has to conform to ADA.
Disabling JavaScript/JScript (which is on by default) is an expressive
action made by visitor. If it decreases site's accessibility, it is
caused by expressive actions of your visitors, and slippers are out of
luck. In this concern you better fully concentrate on ADA conformance
in the default environment. The last big slippers' success was with a
perfectly valid HTML Transitional page with JavaScript enabled. For
details see:
<http://www.dralegal.or g/cases/private_busines s/nfb_v_target.ph p>
That costed to Target good money paid under the table. And they got it
on such simple and HTML-valid thing as *image map*.

Actually I wouldn't be surprised to see one day W3C US Branch being
suited by slippers for promoting non-ADA conformant pages over
Validator. :-) It sounds ugly and crazy enough to become true one day.
:-)

Mar 16 '06 #7
VK
.... and never ever disregard <noscript> ... </noscript> tag.

"Caution! This content is extremely hot!" - a really short message, but
now anyone is welcome to pour the entire coffee cup right on his virtu
:-)

"Sorry, but the content of this page is not accessible if client-side
script support is disabled" - and go sue me now. (cannot be treated as
disability discrimination as the message is equal for any visitor).

Mar 16 '06 #8
"VK" <sc**********@y ahoo.com> writes:
For the Web this means that, in order to protect themselves against
web-slippers, a corporate site *by default* has to conform to ADA.
Disabling JavaScript/JScript (which is on by default)
On by default in _some_ browsers. Off by default in others (corporate
security policies on locked-down desktops, for example, may mean that
when the PC arrives at your desk, it has Javascript disabled),
non-existent in many more.
is an expressive action made by visitor. If it decreases site's
accessibility, it is caused by expressive actions of your visitors,
So, what if none of the browsers on my computer support Javascript?
luck. In this concern you better fully concentrate on ADA conformance
in the default environment. The last big slippers' success was with a
perfectly valid HTML Transitional page
Given that one of the claims in the article is "missing alt text", the
page could not have been valid.
with JavaScript enabled. For details see:
<http://www.dralegal.or g/cases/private_busines s/nfb_v_target.ph p>
I presume the "expressive action made by the visitor" in this case you
define as "using a browser that lets them browse the web at all"? Or
can you think of a way that, in the default case, someone who can't
see will be able to use a mouse to navigate a site.
That costed to Target good money paid under the table. And they got it
on such simple and HTML-valid thing as *image map*.


According to the article, which you seem to have linked to without
reading, it was for missing alt text (not valid nor accessible) and
forcing the use of a mouse (not accessible), and for inaccessible
image maps (not for image maps, for *inaccessible* ones).

Validity helps accessibility but does not guarantee it. Anyone who
claims otherwise has seriously misunderstood both validity and
accessibility. In this case the site was neither, of course.

There are unreasonable adjustments to make to browser
choice+configur ation that would make an accessibility argument based
on a site not being viewable in those settings fair.
- setting the same text and background colour as your browser defaults
- having a user stylesheet of "* { display: none !important }"
- using the original line mode browser, IE v1, or another browser of that era

Disabling Javascript - especially as some browsers don't have the
option to enable it - does not count.

--
Chris
Mar 16 '06 #9
"VK" <sc**********@y ahoo.com> writes:
"Sorry, but the content of this page is not accessible if client-side
script support is disabled" - and go sue me now. (cannot be treated as
disability discrimination as the message is equal for any visitor).
"VK" didn't write, but could have under the same logic: "Sorry, this building is not accessible if staircase support is
disabled." - and go sue me now. (cannot be treated as disability
discrimination as the message is equal for any visitor)


Both statements are equally valid.

--
Chris
Mar 16 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
2829
by: John Bentley | last post by:
Note this is crossposted to comp.lang.javacript and microsoft.public.dotnet.scripting. After some Googling and FAQing my understanding of these terms is, crudely: Javascript (3 different definitions): 1. The scripting language originally developed by Netscape. (I offer a Brief handle: "Original Netscape Script") 2. The current implementation of the ECMAscript 262 (3rd ed.) standard by Netscape. (I offer a brief handle: "Current...
15
3703
by: Mel | last post by:
if you know of dynamic expandable folder using CSS and display function, please drop me a note Yours, Mel
119
4633
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see, http://www.alistapart.com/articles/betterliving/ I read on http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/netfxcompat.asp It said they changed stuff like this
54
4611
by: tshad | last post by:
I have a function: function SalaryDisplay(me) { var salaryMinLabel = document.getElementById("SalaryMin"); salaryMinLabel.value = 200; alert("after setting salaryMinLabel = " + salaryMinLabel.value); } I also have an asp.net object:
100
7021
by: Roose | last post by:
Just to make a tangential point here, in case anyone new to C doesn't understand what all these flame wars are about. Shorthand title: "My boss would fire me if I wrote 100% ANSI C code" We are discussing whether this newsgroup should focus on 100% ANSI C or simply topics related to the C language in the real world. There is a C standard which is defined by an international committee. People who write compilers refer to this in...
25
2606
by: acemtp | last post by:
Hello, I would like to show you a new collaborative website for javascript programmer. It's quite hard to know if some specific code you wrote will work on all browsers, and if not, why it doesn't work. You often have to install lot of browsers on your computer, buy a mac or a pc, and make unit tests.
34
2840
by: aljamala | last post by:
I keep getting this error for the given code region (it actually highlights the line with the body tag): line 42 column 1 - Warning: <trisn't allowed in <bodyelements </head> <body style="margin: 0" onload="preloadImages();"> <table border="0" cellPadding="5" cellSpacing="0" width="100%"> <tr vAlign="top">
36
3110
by: aljamala | last post by:
Hi, I keep getting this warning on a page, but I do not know what the problem is...does anyone have an idea about what could be wrong? line 88 column 7 - Warning: missing </formbefore <td> it highlights this line: <form name="frmCurrency" action="" method="post"> Page source....
2
1333
by: Rick Merrill | last post by:
Is there a web site that checks a page's compliance with Javascript standards? Or better yet, helps debug it?!
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7408
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3958
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.