Sc4 1 1 Unique Attrs
Description
This test checks that attributes of an element are unique.
Background
Assumptions
no known assumptions
Test properties
Property | Value |
---|---|
Test requirement | 4.1.1 Parsing |
Test mode | Automatic |
Test environment | HTML source |
Test subject | Single web page |
Test procedure
Selector
Test mode: automatic
Select all opening tags in the HTML document
Step 1
Test mode: automatic
- Make a list of all the attribute names on the current tag
- IF any of the attributes occurs more the once:
- Return SC4-1-1-unique-attrs-fail1
- ELSE Return SC4-1-1-unique-attrs-pass1
Outcome | Passed |
---|---|
ID | SC4-1-1-unique-attrs-pass1 |
Testcase | SC4-1-1-unique-attrs |
Pointer | selector result |
Outcome | Failed |
---|---|
ID | SC4-1-1-unique-attrs-fail1 |
Testcase | SC4-1-1-unique-attrs |
Error | Attribute |
Pointer | selector result |