Candidate Set:
1. any element that has a role attribute
2. any element with any of the aria-* attributes
Test
From the first candidate set, pass the following:
- a or area tags that have a role attribute with a value of link
- table or map tags that have role attribute with a value of presentation
- any element that has a role attribute with a value:
-- main, banner, contentinfo, form, complimentary, navigation, search
Flag everything else, and everything from the second candidate set for review
Alchemy Test: Ensure elements that use ARIA provide non-ARIA fallback accessible content
Link with a role of link (should not be flagged)
Derp 1
Area with a role of link (should not be flagged)
Derp 2
Table with a role of presentation (should not be flagged)
Map with a role of presentation (should not be flagged)
Div with a role of banner (should not be flagged)
CORPORATE ADVERT
Div with a role of button (should be flagged)
Press me
Span with an aria-attribute of aria-pressed (should be flagged)
Expressed