AW21 Rule 11.9.1

Summary

This test consists in checking the relevancy of the text associated with each form button

Business description

Criterion :

11.9

Test :

11.9.1

Test description :

In each form, does the text of each button pass one of the conditions below?

  • The content of the value attribute of the form buttons of type submit, reset or button is relevant
  • The content of the <button> tag is relevant
  • The content of the title attribute is relevant
Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

  • All the <input> tags within a <form> with  a "type" attribute equals to:
    • "image"
    • "reset"
    • "submit"
    • or "button"
  • AND all the <button> tags within a <form>

Process

The selection handles the process.

For each occurence of the selection raise a MessageA

MessageA : Check Manually the elements
  • code :ManualCheckOnElements
  • status: NMI
  • parameter : tag name
  • present in source : yes

Analysis

NA

Selection is empty

NMI

The selection is not empty

Notes

We only detect the elements of the scope of the test to determine whether the test is applicable