How does Javascript use affect 508 Compliance?
Asked Answered
B

3

8

As background, I currently develop for a university, and we have problems with departments demanding "web 2.0 content" and accessibility requirements.

How do really big sites that are JavaScript based deal with 508 Compliance? Some sites degrade, and others require enabling JavaScript. How much impact does one decision have versus the other?

Also, in a realistic sense, how much development time should be devoted the accessible versions of sites versus the "main" versions?

Bilestone answered 31/12, 2009 at 8:14 Comment(1)
Updated title to bring it inline with the question.Skiest
N
12

I'm a blind developer and find it possible to use many Web 2.0 sites - this is most certainly possible.

  • Firstly, I strongly advise against making a separae accessible site, regardless of how many people advise you to do this. This is bad practice and will end up being more work, even if it initialy seems simpler.
  • Next, try to use progressive enhancement (particularly if this is a new site). Code the site without any Javascript; it's not just accessibility which benefits. Then, in your OnLoad() go through and attach Click events to the anchor tags; this way if you have Javascript you'll see the Ajax version, otherwise you will have a full page refresh and see another HTML page.
  • Luckily, there is a new standard, WAI-Aria (www.w3.org/WAI/intro/aria.php) which makes this much simpler. You attach attributes to HTML tags to identify the semantics of an Ajax control, for example. The only problem with Aria is that it only works with newer screen readers and web browsers. The university may well require the site be accessible to people running older software.
Nicoline answered 2/1, 2010 at 19:33 Comment(0)
S
9

I'm a screen reader user and often use Javascript enabled sites. Javascript is not an accessibility issue, the way it is used can be. For example if the site uses javascript that requires the use of a mouse and doesn't have keyboard alternatives it will not be 508 compliant. An example of a site that uses Javascript and is accessible is stackoverflow.com. The only feature that isn't accessible is the ability to determine if you have accepted an answer to a question. I would take a look at the links in Annie's answer. All the blind college students I know use a fairly modern browser with Javascript enabled, Lynx is no longer popular in the blind community. If you want to try using a screen reader a good open source one for windows can be found at http://www.nvda-project.org/ and it works well with firefox. If you want to try using the web with out Javascript install the Noscript addin.

Skiest answered 31/12, 2009 at 12:14 Comment(0)
P
4

Sites don't have to disable JavaScript to be accessible. Many sites use ARIA roles to work better with screen readers. There's a giant list of articles on accessible AJAX applications here. You could try something like AxsJAX.

Peasant answered 31/12, 2009 at 8:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.