WebAIM - Web Accessibility In Mind

E-mail List Archives

FW: Javascript question

for

From: Rick Hill
Date: Aug 14, 2013 3:16PM


Folks,

We have assumed that creating content that requires Javascript is now OK under WCAG 2 AA assuming you meet WCAG 2 AA success criteria including proper use of ARIA. And I guess, don't use Javascript where it really isn't needed. Use standard HTML/CSS for what it is designed to do.

I'd avise to research http://www.w3.org/WAI/WCAG20/quickref/ to better acquaint themselves with WCAG 2.0 success criteria.

To paraphrase another comment from this discussion list:

It is not a matter of using one or another technology, but a matter of using them correctly.
Check you abide by the client-side scripting techniques for WCAG 2.0 which deal with recommended and disapproved scripting usages.
Use ARIA Techniques for WCAG 2.0 to define the semantics of non-standard controls, they are widely supported by major browsers

Does this sound like an appropriate response?
-------------------------------------------------------------------
Rick Hill, Web CMS Administrator
Strategic Communications, UC Davis


Subject: Javascript question

Colleagues,
Perhaps you can provide some insight here:


There have been discussions at CDL about the use of Javascript and the contention in some of the documentation we point to (http://webaim.org/techniques/javascript/) that web pages should always have alternatives to using Javascript.



CDL web developers are curious to know if this is still the case since the browser world has moved along pretty significantly since the 10+ years since that was likely written. They feel that it's now pretty rare for any browser NOT to support Javascript and many major sites use Javascript for huge amounts of their core functionality without providing alternatives. Eliminating Javascript would make heavily used sites such as Gmail not work at all (see for example https://support.google.com/mail/answer/96580?hl=en ).



Two questions:



1. What’s the current thinking on using Javascript?

2. Is there more current information we could point to?

Thanks for your help.