WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: JavaScript and WCAG 2.0

for

From: Liko, Todd
Date: Jul 16, 2014 5:33AM


Thank you Jonathan.

WCAG 2.0 (if you choose to interpret it that way) is saying that users have a choice, they can either upgrade their web browsers and/or assistive technologies to more current ones that are compliant with various technologies such as JavaScript or choose to continue using tools that do not have the latest and greatest or disable these technologies. The problem with this approach is the assumption that everyone can purchase, download and even install current tools.

It seems to that this creates barriers to accessing the information for some users, which is counter to what WCAG 2.0 is trying to accomplish, removing barriers.

Todd.

-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Jonathan Avila
Sent: Tuesday, July 15, 2014 9:17 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] Javascript and WCAG 2.0

> 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

-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of Liko, Todd
Sent: Tuesday, July 15, 2014 9:03 AM
To: ' <EMAIL REMOVED> '
Subject: [WebAIM] Javascript and WCAG 2.0

Hello all.

Could I please get some feedback on the use of Javascript and compliance with WCAG 2.0?

I had a meeting with developers about the use of JavaScript . I explained that JavaScript is an accessible technology and can be used if used in an accessible way. 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. There was some argument on this point, particularly about the content being available. I said that if content becomes or remains hidden when JavaScript is disabled or not available that this is considered a failure.

One of the developers said they could optionally post a conformance statement on their application indicating what technologies are required to use the application.

I have read conformance requirements 4 and 5 under Understanding Conformance Requirements<http://www.w3.org/TR/UNDERSTANDING-WCAG20/conformance.html>;
and the definition for Understanding Accessibility Support<http://www.w3.org/TR/UNDERSTANDING-WCAG20/conformance.html#uc-acce
ssibility-support-head> in WCAG 2.0 and do not see this.

Any thoughts on this?

Thanks in advance.


_______

Todd Liko

Communications Advisor | Conseiller en communications Web Services | Services Web Communications and Marketing | Communications et Marketing

427 Laurier Avenue West (AEAD), Ottawa ON K1A 0N5

427 Avenue Laurier Ouest (AEAD), Ottawa (Ontario) K1A 0N5 e-mail /
courriel:
<EMAIL REMOVED> <mailto: <EMAIL REMOVED> <mailto: <EMAIL REMOVED> %3cm
ailto: <EMAIL REMOVED> >>

telephone / téléphone: 613-949-9425 | fax / télécopieur: 613-949-2386

blackberry: 613-796-6375

Government of Canada | Gouvernement du Canada