Sunteți pe pagina 1din 7

HTML Test Suite Status

W3C Draft Technical Document 2005-2-25


Copyright 2005, ATRC, University Of Toronto, All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Editor: Chris Ridpath, ATRC, University Of Toronto

Abstract
This technical document shows the status of tests used in the HTML test suite for WCAG 2.0. It is under constant revision and may be changed or removed at any time. The complete test suite may be viewed at http://www.w3.org/WAI/GL/WCAG20/tests/

Test Case Status


Listed below are all the test cases sorted by status.

Status Accepted (28 Tests)


1 - All img elements have an alt attribute. 3 - All Alt text is short. 8 - A long description (longdesc) file is used for each img element that does not have Alt text and/or body text conveying the same information as the image. 9 - All img elements that have a longdesc attribute also have an associated 'd-link'. 11 - Alt text for all img elements contains all text in the image unless the image text is decorative or appears elsewhere in the content. 13 - All links in all client side image-maps are duplicated within the content. 14 - For all img elements, content text does not refer to the image by color alone. 16 - Alt text for all img elements is the empty string ("") if the image is decorative. 29 - HTML Content has a valid doctype declaration. 49 - Content has valid language code. 50 - Content contains a title element. 51 - title contains text. 53 - title is not placeholder text. 57 - All input elements, with type of "text", have an explicitly associated label. 58 - All input elements with a type attribute value of "image" have an alt attribute. 59 - Alt text for all input elements with a type attribute value of "image" identifies the purpose or function of the image.

64 - All area elements have an alt attribute. 65 - Alt text for all area elements identifies the link destination. 118 - All input elements, with type of "password", have an explicitly associated label. 119 - All input elements, with type of "checkbox", have an explicitly associated label. 120 - All input elements, with type of "file", have an explicitly associated label. 121 - All input elements, with type of "radio", have an explicitly associated label. 174 - Each source anchor contains text. 175 - Alt text for all img elements used as source anchors is different from the link text. 178 - Alt text for all img elements that are not used as source anchors conveys the same information as the image. 193 - Alt text for all input elements with a type attribute value of "image" contains all non decorative text in the image. 194 - Alt text for all area elements contains all non decorative text in the image area. 197 - All source anchors contain text that identifies the link destination.

Status Pending (27 Tests)


6 - Alt text for all img elements is not placeholder text. 31 - All frames have a title attribute. 32 - All frame titles identify the purpose or function of the frame. 33 - The source for each frame is accessible content. 37 - The header following an h1 is h1 or h2. 38 - The header following an h2 is h3 or any header less than h3. 39 - The header following an h3 is h4 or any header less than h4. 40 - The header following an h4 is h5 or any header less than h5. 42 - All h1 elements are not used for formatting. 43 - All h2 elements are not used for formatting. 44 - All h3 elements are not used for formatting. 45 - All h4 elements are not used for formatting. 46 - All h5 elements are not used for formatting. 47 - All h6 elements are not used for formatting. 48 - Content has required lang attribute(s). 54 - title is descriptive of the content. 66 - area link to sound file must have text transcript. 69 - marquee element is not used. 82 - All p elements are not used as headers. 92 - All select elements do not cause an extreme change in context. 149 - Nested ordered lists should use style to convey list depth. 168 - All radio button groups are marked using fieldset and legend elements. 198 - legend text describes the group of choices. 199 - legend text is not empty or whitespace. 200 - legend text is not placeholder text. 201 - All frame titles are not empty. 202 - All frame titles do not contain placeholder text.

Status Assigned (6 Tests)


10 - All img elements have associated images that do not flicker. 19 - Link text is meaningful when read out of context. 68 - area should not open new window without warning. 135 - All img elements with images containing math expressions have equivalent MathML markup. 169 - select should contain optgroup if it has a large number of options. 196 - Server-side image maps are not used except when image map regions cannot be defined using an available geometric shape.

Status New (5 Tests)


134 - Include non-link, printable characters (surrounded by spaces) between adjacent links. 136 - Data table must use th elements. 137 - Layout table must not use th elements. 190 - Anchor element must have a title attribute. 191 - The title attribute of all source a (anchor) elements describes the link destination.

Status Unconfirmed (100 Tests)


5 - Important images should not have spacer Alt text. 17 - Sound file must have a text transcript. 18 - Anchor should not open new window without warning. 20 - Links to multimedia require a text transcript. 21 - applet should not use color alone. 22 - applet should not flicker. 23 - applet must have valid alt attribute. 25 - Content must be usable when applet disabled. 26 - applet user interface must be accessible. 27 - blink element should not be used. 28 - Large number of links may require a skipover link. 30 - Embedded objects must not flicker. 52 - title is short. 55 - input should not use color alone. 61 - Image used in input element - Alt text should not be the same as the filename. 62 - Image used in input element - Alt text should not be placeholder text. 71 - Auto-redirect must not be used. 72 - Auto-refresh should not be used without warning. 73 - object must not use color alone. 74 - Text equivalents for object should be updated if object changes. 75 - Content must be usable when object are disabled. 76 - object user interface must be accessible. 77 - object link to multimedia file must have text transcript.

78 - object must have a title. 79 - object must have a valid title. 80 - object must have a text equivalent. 81 - List items must not be used to format text. 83 - ASCII art should be replaced with image. 84 - ASCII art should have a skipover link. 86 - Color alone should not be used in the script. 87 - script should not cause screen flicker. 88 - Content must be accessible when script is disabled. 89 - User interface for script must be accessible. 90 - script must have a noscript section. 91 - select element must have an associated label. 94 - Content must be readable when stylesheets are not applied (SCRIPT). 95 - textarea controls must have an associated label. 96 - textarea control label should be positioned close to control. 98 - Abbreviations must be marked with abbr element. 99 - Acronyms must be marked with acronym element. 100 - blockquote must not be used for indentation. 101 - iframes must have alternate content. 102 - SCRIPT must be keyboard accessible - onclick requires onkeypress. 103 - script must be keyboard accessible - ondbclick must not be used. 104 - script must be keyboard accessible - onmousedown requires ONKEYDOWN. 105 - script must be keyboard accessible - onmousemove must not be used. 106 - script must be keyboard accessible - onmouseout requires onblur. 107 - script must be keyboard accessible - onmouseover requires onfocus. 108 - script must be keyboard accessible - onmouseup requires onkeyup. 110 - Words not in the content's primary language must be identified. 111 - Data table must have a summary. 112 - Data table summary can not be empty. 113 - Data table summary should be greater than 10 characters. 114 - Layout table may have a summary but only if it's empty. 115 - Layout table cannot have a caption. 122 - input element label, type of "password", should be positioned close to control. 123 - input element label, type of "checkbox", should be positioned close to control. 124 - input element label, type of "file", should be positioned close to control. 125 - input element label, type of "radio", should be positioned close to control. 126 - input control, type of "text", must have valid default text. 127 - Text equivalents for object should be updated if object changes. 128 - Content must be usable when objects are disabled. 129 - object user interface must be accessible. 131 - Use the blockquote element to mark up block quotations. 133 - table must linearize. 145 - Links to multimedia require equivalent alternatives (e.g., captions or auditory descriptions of the visual track).

146 - object link to multimedia file require equivalent alternatives (e.g., captions or auditory descriptions of the visual track). 147 - Content should use LINK to describe structure. 148 - Content should use LINK for alternate content. 150 - Use CSS, not images, to change list bullets. 151 - Data table may require a caption. 152 - Long table header labels require terse substitutes. 153 - Substitutes for table header labels must be terse. 154 - pre element should not be used to create tabular layout. 155 - Link sets must be grouped. 156 - Link groups must have a title. 157 - Link group title must describe the link group. 158 - CSS must be used to hide link groups. 160 - object may require a long description. 161 - Excessive use of emoticons. 162 - Emoticon missing abbr. 163 - embed missing noembed. 164 - noembed must have equivalent content. 165 - embed must have alt attribute. 166 - embed must not have empty Alt text. 167 - iframe must not use longdesc. 173 - Suspicious link text. 176 - basefont must not be used. 177 - font must not be used. 179 - Provide a reference to a glossary. 180 - Adjacent links with same resource must be combined. 181 - Anchor must not use Javascript URL protocol. 182 - Do not use background images. 183 - Use the embed element within the object element. 184 - Sites must have a site map. 185 - id attributes must be unique. 186 - label must not contain input. 187 - input element must have only one associated label. 188 - label must contain text. 189 - label must describe its associated control.

Status Rejected (26 Tests)


2 - Alt text should not be the same as the filename. (covered by test 6) 4 - Non-Decorative images must have Alt text. (covered by test 178) 7 - Alt text for all img elements used as source anchors is not empty when there is no other text in the anchor. (covered by tests 174 and 197) 12 - All img elements with an ismap attribute have a valid usemap attribute. (if using ismap then should not use usemap) 15 - Alt text for all img elements used as source anchors identifies the destination of the link. (covered by tests 174 and 197)

24 - Text equivalents for applet must be updated if applet changes. (WCAG2 does not cover applets) 34 - Relationship between frames must be described. (not needed due to other tests) 35 - frameset must have a noframes section. (good frameset support) 36 - NOFRAMES section must contain text equivalent of FRAMES section. (good frameset support) 41 - The header following an h5 is h6 or any header less than h3. (any header after an h5 is OK) 60 - Alt text for all input elements with a type attribute value of "image" is less than 100 characters (English) or the user has confirmed that the Alt text is as short as possible. (covered by test 3) 63 - input element, type of "text", must have default text. (no longer needed) 70 - menu items should not be used to format text. (menu element is deprecated) 97 - Content must be readable when stylesheets are not applied. (move to CSS test suite) 109 - Content must be readable when stylesheets are not applied. (move to CSS test suite) 116 - b (bold) element is not used. (now allowed) 117 - i (italic) element is not used. (now allowed) 132 - All active areas in all server-side image maps have duplicate text links in the content. (ismap precludes text links) 138 - input element, type of "text", must have a tab index. (tab order covered by user UAAG) 139 - input element, type of "radio", must have a tab index. (tab order covered by user UAAG) 140 - input element, type of "password", must have a tab index. (tab order covered by user UAAG) 141 - input element, type of "checkbox", must have a tab index. (tab order covered by user UAAG) 142 - input element, type of "file", must have a tab index. (tab order covered by user UAAG) 143 - Content must have an address for author. (does not improve accessibility) 144 - address of page author must be valid. (does not improve accessibility) 159 - All img elements do not contain a title attribute. (test not useful)

Status Holding (2 Tests)


192 - Alt text for all input elements with a type attribute value of "image" does not use the words "submit" or "button" (English). 195 - Link text does not begin with "link to" or "go to" (English).

All tests related to Alt text


Listed below are 18 tests related to Alt text. Two of the tests deal with long descriptions (LONGDESC) and d-links but because they are closely associated to Alt text I've listed them here too. Not all of these tests have been accepted by the group.

IMG element

1 - All IMG elements have an ALT attribute. 16 - Alt text for all IMG elements is the empty string ("") if the image is decorative. 11 - Alt text for all IMG elements contains all text in the image unless the image text is decorative or appears elsewhere in the document. 178 - Alt text for all IMG elements that are not used as source anchors conveys the same information as the image. 3 - All Alt text is short. 8 - A long description (LONGDESC) file is used for each IMG element that does not have Alt text and/or body text conveying the same information as the image. 9 - All IMG elements that have a LONGDESC attribute also have an associated 'd-link'. 14 - For all img elements, document text does not refer to the image by color alone.

IMG element used as an anchor


174 - Each source anchor contains text. 197 - All source anchors contain text that identifies the link destination. 175 - Alt text for all IMG elements used as source anchors is different from the link text. 195 - Alt text for all IMG elements used as source anchors does not begin with "link to" or "go to" (English).

Submit buttons on forms


58 - All INPUT elements with a TYPE attribute value of "image" have an ALT attribute. 59 - Alt text for all INPUT elements with a TYPE attribute value of "image" identifies the purpose or function of the image. 193 - Alt text for all INPUT elements with a TYPE attribute value of "image" contains all non decorative text in the image.

AREA elements

64 - All AREA elements have an ALT attribute. 65 - Alt text for all AREA elements identifies the destination of the link. 194 - Alt text for all AREA elements contains all non decorative text in the image area.

S-ar putea să vă placă și