Tests:
Test 1
Edit: removed test.Test 2
Authors SHOULD NOT use the aria-rowspan
. attribute on any element which also has a rowspan
attribute.
The first th
and td
each have an aria-rowspan="1"
and rowspan="1"
attribute
header 1 | header 2 |
---|---|
Cell 1 | Cell 2 |
Expected result:
warning for unnecessary use of aria-rowspan
when element has rowspan
.
Test 3
Authors MUST NOT use aria-rowspan
on any element which also has a rowspan
attribute, and the values of each attribute do not match.
The first th
and td
each have an aria-rowspan="1"
and rowspan="2"
attribute
header 1 | header 2 |
---|---|
Cell 1 | Cell 2 |
Expected result:
error for use of aria-rowspan
with value different than rowspan