Test Framework Testcase id=H1.1.005

This is an example of a test case file for the WCAG 2.0 HTML. (The final file format would be xml)

 

  1. Test Framework Metadata
    1. Type: Automated
    2. Guideline 1.1
    3. Success Criteria 1
    4. Element -- IMG
    5. Attribute -- ALT
    6. Test level (All)
    7. Mapping 1.0 to 2.0 (1.1)
  2. Test Case
    1. Description: Verify ALT text is not the file name
    2. Prerequisite: H1.1.002
    3. Test case title

                                                               i.      Steps: 1. View source code, 2. Search for IMG element, 3. View the alt text

                                                             ii.      Expected results: alt text is not the file name

                                                            iii.      Pass instructions: test suite complete

                                                           iv.      Fail instructions: File bug report: alt attribute is the file name

  1. Examples (This section would have examples of correct coding and incorrect coding)
    1. Description
    2. Code Example – Pass

                                                               i.      Test file

                                                             ii.      Screenshot

                                                            iii.      Audio file

1.      transcript of audio

    1. Code Example – Fail

                                                               i.      Test file

                                                             ii.      Screenshot

                                                            iii.      Audio file

1.      transcript of audio

  1. Compatibility
    1. Browser/OS: Pass IE 6 on Win XP,
    2. ATVs: Pass on Jaws 4.5
  2. Resources (This section would have links to the associated resources)
    1. HTML
    2. WCAG 1.0
    3. UAAG
    4. ATAG
    5. Section 508
  3. Test Case Status
    1. Review, Accepted, Rejected

                                                               i.      Date

    1. Test Submitter

                                                               i.      Date

                                                             ii.      Give credit: yes or no

    1. Test Reviewer

                                                               i.      Date

21 July 2004. Jenae Andershonis for the WCAG WG