W3C

DRAFT DOCUMENT

This is a draft document supplied by the WCAG Techniques Task Force. It in no way represents a WCAG Working Group consensus or agreement and is provided for informational and discussion purposes only. The accessibility test listed below should not be construed as required for conformance with the proposed WCAG2.

ECMAScript Test Suite for WCAG 2.0
Test 1 - The action attribute for all form elements does not contain an ECMAScript URI.

W3C Editor's Draft 2005-07-08

Editors:
Chris Ridpath, ATRC, University Of Toronto
Jenae Andershonis, Microsoft Inc.

Abstract

This test case was created by the ATRC at the University Of Toronto. It should not be construed as required for conformance with the proposed WCAG2.

Comments on this test may be made to the WCAG mailing list.


Status Of This Test

As part of the conformance test process, this test has a status of 'unconfirmed'.


WCAG2 Guideline

Guideline: 4.1 - Use technologies according to specification.
Success Criteria: (NOT SURE OF SUCCESS CRITERIA THAT COVERS THIS TEST.)

Level 1 (NOT SURE OF LEVEL)

The WCAG2 has 3 priority levels for making Web content accessible. This test has a priority of 'Level 1'.


Techniques

The WCAG Working Group has created techniques that describe how Web content may be made accessible. The following techniques are related to this test:


Prerequisite Tests

There are no prerequisite tests for this test.


Test Process

Procedure

  1. Check the action attribute of each form element.

Expected Results

  1. The action attribute for all form elements does not contain an ECMAScript URI.

Fail Instructions

  1. Modify the action attribute of the form element so it does not use an ECAMScript URI.
  2. Use the onsubmit attribute of the form element to run an ECMAScript function.

Pass Instructions

Any accessibility check may be performed after this test.


Test Files

These test files contain examples of the accessibility problem detectable by this test. They may also contain more accessibility problems than the one described in this test. Please ignore any extraneous accessibility problems in these files.

Valid XHTML 1.0!