RAWEBA
7.2 For each script with an alternative, is this alternative relevant?
- WCAG references
- 1.1.1 Non-text Content (A)
- 4.1.2 Name, Role, Value (A)
- Techniques
- F19
- F20
- G136
Official methodology to test criterion 7.2
Test 1 (7.2.1)
- Find alternatives to JavaScript features
- Search the page for available alternatives to a JavaScript component or function.
- Deactivate JavaScript in the document and find the proposed alternatives.
- For each of the alternatives proposed, check that it provides access to the same content and similar functions.
- If this is the case, the test is validated.
Test 2 (7.2.2)
- Find all non-text elements in the document that have been updated by a JavaScript function.
- If the non-text element has an alternative, check that
- the alternative is updated when the non-text content is updated;
- the updated alternative is relevant.
- If this is the case, the test is validated.