AW21 Rule 1.1.3

  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.
  • warning: Invalid argument supplied for foreach() in /home/tanaguru/www/sites/all/modules/contrib/cck/theme/content-field.tpl.php on line 35.

Summary

This test consists in checking whether each form button is defined with an "alt" attribute

Business description

Criterion :

1.1

Test :

1.1.3

Test description :

Does each form button (input tag with the type="image" attribute) have an alt attribute?

Level :

Technical description

Scope :
Decision level :

Algorithm

Selection

Set1 : All the <input> tags with a "type" attribute equals to "image"

Process

Test1 : Check whether each element of Set1 contains an "alt" attribute.

  • Message :
  1. Type : SourceCodeRemark
  2. Code : AltAttributeMissing
  3. Issue : Failed
  4. Target : <form>
  5. Value : x
  6. Case : For each element returning false in Test1
  • used nomenclature : none
  • reference : none

Analysis

NA

The page has no <input> tag with a "type" attribute equals to "image" (Set1 is empty)

Failed

At least one form button has no "alt" attribute (Test1 returns false for at least one element)

Passed

All the <input> tags with a "type" attribute equals to "image" have an "alt" attribut

 

Notes

No notes yet for that rule