WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: JavaScript and WCAG 2.0

for

From: Andrew Kirkpatrick
Date: Jul 16, 2014 6:49AM


Todd,
I believe that Jon has correctly described the situation related to WCAG 2.0 and JavaScript.

Of course, you are also correct in that there are some users that may have problems if a site relies on JavaScript (or ARIA, or HTML5, or PDF, or SVG, or...). The goal of WCAG 2.0 conformance cannot be to guarantee that all users have complete access to content, but instead it is to dramatically increase the likelihood that users will have an accessible experience. There will always be some users that will experience barriers with some types of content and there will always be more that could be done to ensure that more users can access the content.

This is a key challenge for a standard like WCAG 2.0 - balancing the possible benefits to users with the impact on authors. We could make a standard that is more aggressive in addressing a larger set of user needs, but then there is the risk that the standard would be regarded as too difficult to implement and may not be adopted into policies. We also see this with the WCAG 2.0 levels (A, AA, AAA), where policies adopting WCAG are generally referencing A or AA.

If you see issues that you feel need to be addressed, I encourage you to submit comments or questions via the WCAG 2.0 public comment form (http://www.w3.org/WAI/WCAG20/comments/onlineform) - the group is always willing to get feedback on current text and areas for improvement.

Thanks,
AWK


-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Liko, Todd
Sent: Wednesday, July 16, 2014 7:34 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] JavaScript and WCAG 2.0

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