Asqatasun v4 - Summary

Asqatasun v4 - AccessiWeb 2.2 - Rule 7.5.1

Summary

This test consists in extracting scripts that potentially change the context and let the user check manually whether the change of context is initiated by an explicit button, whether the change of context is initiated by an explicit link or whether the user is warned by a text about the script action and the kind of change before it is activated.

Business description

Criterion : 7.5

Test : 7.5.1

Test description :

Does each script initiating a change of context pass one of the conditions below?

Level : Bronze

Technical description

Scope : page

Decision level : semidecidable

Algorithm

Selection

Set1

All the <select> tags with an onchange attribute (select[onchange])

Set2

All the <form> tags with a <select> child but without child of type button, <input type='submit'>, <input type='button'> or <input type='reset'> (form:has(select):not(:has(button)):not(:has(input[type=submit])):not(:has(input[type=button])):not(:has(input[type=reset])))

Process

Test1

For each occurence of Set1 and Set2, raise a MessageA

Test2

If Set1 AND Set2 are empty, raise a MessageB

MessageA : Context changed by script detected
MessageB : No Pattern detected

Analysis

Pre-qualified

In all cases

Notes

No notes yet for that rule