WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Javascript and WCAG 2.0

for

From: Jonathan Avila
Date: Jul 15, 2014 7:16AM


> In addition, I explained that functionality provided by the use of
JavaScript does not have to exist when JavaScript is disabled or not
available, as long as the content is still available

Javascript can be relied upon without support for a non-Javascript
alternative if the use of it is accessibility supported and meets the
other conformance requirements of WCAG.

The point that may be confusing is the non-relied up on technologies under
the non-interference conformance requirement. For example, if the site
does not rely upon Javascript then turning off Javascript must still allow
the page to conform.

See understanding conformance requirement #5
(http://www.w3.org/TR/UNDERSTANDING-WCAG20/conformance.html)
* when any technology that is not relied upon is turned on in a user
agent,
* when any technology that is not relied upon is turned off in a user
agent, and
* when any technology that is not relied upon is not supported by a user
agent

So for example, unless the site is conformant without Javascript you'd
need to claim use of Javascript as a relied upon technology.

Jonathan