W3C home > Mailing lists > Public > w3c-wai-au@w3.org > July to September 2012

RE: ATAG2 test writing - Principle B.1 (not finished)

From: Richards, Jan <jrichards@ocadu.ca>
Date: Mon, 13 Aug 2012 18:46:29 +0000
To: "w3c-wai-au@w3.org" <w3c-wai-au@w3.org>
Message-ID: <0B1EB1C972BCB740B522ACBCD5F48DEB03ADC689@ocadmail-maildb.ocad.ca>
NEW TOOL FOR TESTING:

Listing of Accessibility Information Types (for each "Included" content technology). The following table should serve as a guide:
http://www.w3.org/WAI/AU/2012/ED-IMPLEMENTING-ATAG20-20120716/#prompting-types

-----

B.1.1.1 Content Auto-Generation After Authoring Sessions (WCAG): If the authoring tool provides the functionality for automatically generating web content after the end of an authoring session, authors can specify that the content be accessible web content (WCAG). (Level A to meet WCAG 2.0 Level A success criteria; Level AA to meet WCAG 2.0 Level A and AA success criteria; Level AAA to meet all WCAG 2.0 success criteria)
    Note: This success criterion applies only to automatic processes specified by the authoring tool developer. It does not apply when author actions prevent generation of accessible web content (WCAG).

Test 0001 Assertion:  Content auto-generated after authoring sessions meets WCAG 2.0 at Level AAA.
Test 0001 Author: Jan Richards
Test 0001 Steps [Updated]:
1. This SC only applies to authoring tools that add content to the end-user experience beyond what the author (or the tool) has added during the authoring session. Otherwise, select SKIP.
2. The SC's note also makes it clear that the SC refers to developer-provided processes, not processes created by the author or other third-parties. So, if the auto-generation system primarily works by creating a wrapper around the author's entries, try to test the auto-generation system with as little author-entered content as possible.
3. If author input is required, ensure that only accessible content is added (e.g. from the " Selection of separate pieces of content") and that all prompts are followed correctly.
4. If the auto-generation system acts differently depending on the author's entries, try to test the auto-generation system with the "comprehensive accessible test content"
5. Once the system produces output, follow the "Web Content Accessibility Test Procedure (Level AAA)". If the output meets the procedure then select PASS, otherwise select FAIL.

002 REPEAT WITH AA
003 REPEAT WITH A

B.1.1.2 Content Auto-Generation During Authoring Sessions (WCAG):
If the authoring tool provides the functionality for automatically generating web content during an authoring session, then at least one of the following is true: (Level A to meet WCAG 2.0 Level A success criteria; Level AA to meet WCAG 2.0 Level A and AA success criteria; Level AAA to meet all WCAG 2.0 success criteria)
    (a) Accessible: The content is accessible web content (WCAG) without author input; or
    (b) Prompting: During the automatic generation process, authors are prompted for any required accessibility information (WCAG); or
    (c) Automatic Checking: After the automatic generation process, accessibility checking is automatically performed; or
    (d) Checking Suggested: After the automatic generation process, the authoring tool prompts authors to perform accessibility checking.
    Note 1: Automatic generation includes automatically selecting templates for authors.
    Note 2: This success criterion applies only to automatic processes specified by the authoring tool developer. It does not apply when author actions prevent generation of accessible web content (WCAG).

Test 0001 Assertion:  Content generated automatically during authoring sessions....
Test 0001 Author: Jan Richards
Test 0001 Steps:
1. This SC applies only to authoring tools that automatically add content during the authoring session. Such processes can range from complex (e.g., a process that builds a whole page from just a few user entries - Note 1 applies here) to basic (e.g. adding a <strong> formatting tag when the user has selected to have text made "bold"). If the authoring tool does not automatically generate content, select SKIP.
2. Proceed by triggering as many automated authoring processes as possible. Trigger them one at a time with as little author-entered content as possible (e.g. triggering the automated processes on nearly empty pages).
3. If all of the automated authoring processes result in one of the follow outcomes then select PASS.
(a) The produced content (not necessarily the document as a whole) passes the "Web Content Accessibility Test Procedure (Level AAA)"; or
(b) During the automatic process, authors are prompted for any required accessibility information (WCAG) and if this is properly supplied then the produced content passes the "Web Content Accessibility Test Procedure (Level AAA)"; or
(c) After the automatic generation process, accessibility checking is automatically performed (check-as-you-type systems that check for accessibility continuously will meet this); or
(d) Checking Suggested: After the automatic generation process, the authoring tool prompts authors to perform accessibility checking (such prompts need not be obtrusive).
4. if any of the processes do not result in any of the outcomes in (3) then, select FAIL. 

002 REPEAT WITH AA
003 REPEAT WITH A


B.1.2.1 Restructuring and Recoding Transformations (WCAG):
If the authoring tool provides restructuring transformations or re-coding transformations, and if equivalent mechanisms exist in the web content technology of the output, then at least one of the following is true: (Level A to meet WCAG 2.0 Level A success criteria; Level AA to meet WCAG 2.0 Level A and AA success criteria; Level AAA to meet all WCAG 2.0 success criteria)
    (a) Preserve: Accessibility information (WCAG) is preserved in the output; or
    (b) Warning: Authors have the default option to be warned that accessibility information (WCAG) may be lost (e.g., when saving a vector graphic into a raster image format); or
    (c) Automatic Checking: After the transformation, accessibility checking is automatically performed; or
    (d) Checking Suggested: After the transformation, the authoring tool prompts authors to perform accessibility checking. 
    Note 1: For text alternatives for non-text content, see Success Criterion B.1.2.4.
    Note 2: This success criteria only applies when the output technology is "included" for conformance.

Test 0001 Assertion:  Content transformed automatically....
Test 0001 Author: Jan Richards
Test 0001 Steps:
1. This SC applies only to authoring tools that perform restructuring or recoding transformations. In restructuring transformations, the content technology (e.g. HTML) stays the same, but the structural features of the technology used to markup the content are changed (e.g., linearizing tables, splitting a document into pages. In recoding transformations, the content technology used to encode the content is changed (e.g., HTML to XHTML, a word processing format to HTML). If the authoring tool does not perform such transformations, then select SKIP.
2. Examine the user interface and documentation for potential processes (e.g. under "Save As", "Export", etc.). While determining candidates:
- Note that these must be automatic processes. A general find-and-replace mechanism does not qualify.
- Note that the definition of content transformations excludes clipboard actions (such as copy and paste), which are treated separately. 
- Note that for recoding transformations, only processes resulting in technologies "included" for conformance are applicable. Saving from an "included" technology to an "unincluded" technology is not covered.
- Note 1 excludes text alternatives for non-text content, an important subset of the "Listing of Accessibility Information Types".
- Note that an equivalent mechanism for preserving the accessibility information must exist (in order to preserve captions, both technologies must support captions). Consult the "Listing of Accessibility Information Types" for the input and output technologies.
3. If all of the restructuring or recoding transformation processes result in one of the follow outcomes (when operating on the "Comprehensive accessible test content (Level AAA)") then select PASS.
(a) The transformed content passes the "Web Content Accessibility Test Procedure (Level AAA)"; or
(b) Before the transformation process proceeds, authors are warned that accessibility information may be lost; or
(c) After the transformation process, accessibility checking is automatically performed (check-as-you-type systems that check for accessibility continuously will meet this); or
(d) Checking Suggested: After the transformation process, the authoring tool prompts authors to perform accessibility checking (such prompts need not be obtrusive).
4. if any of the transformation processes do not result in any of the outcomes in (3) then, select FAIL.


B.1.2.2 Copy-Paste Inside Authoring Tool (WCAG): If the authoring tool supports copy and paste of structured content, then any accessibility information (WCAG) in the copied content is preserved when the authoring tool is both the source and destination of the copy-paste and the source and destination use the same web content technology. (Level A to meet WCAG 2.0 Level A success criteria; Level AA to meet WCAG 2.0 Level A and AA success criteria; Level AAA to meet all WCAG 2.0 success criteria)

Test 0001 Assertion:  
Test 0001 Author: Jan Richards
Test 0001 Steps:


B.1.2.3 Optimizations Preserve Accessibility: If the authoring tool provides optimizing web content transformations, then any accessibility information (WCAG) in the input is preserved in the output. (Level A).

Test 0001 Assertion:  Optimizing transformations do not cause the loss of any accessibility information.
Test 0001 Author: Jan Richards
Test 0001 Steps:


B.1.2.4 Text Alternatives for Non-Text Content are Preserved: If the authoring tool provides web content transformations that preserve non-text content in the output, then any text alternatives for that non-text content are also preserved, if equivalent mechanisms exist in the web content technology of the output. (Level A).
    Note: This success criteria only applies when the output technology is "included" for conformance.

Test 0001 Assertion:  Alternatives for non-text content are preserved whenever the non-text content they serve as alternatives for is preserved.
Test 0001 Author: Jan Richards
Test 0001 Steps:
Received on Monday, 13 August 2012 18:46:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 13 August 2012 18:46:53 GMT