AccessiWeb 2.2 - Rule 2.1.2

Summary

This test consists in checking the presence of the title attribute for all the iframe elements of the page.

Business description

Criterion : 2.1

Test : 2.1.2

Test description : Does each iframe (iframe tag) have a title attribute?

Level : Bronze

Technical description

Scope : page

Decision level : decidable

Algorithm

Selection

Set1

All the iframe tags ( iframe )

Process

Test1 :

Test the presence of a "title" attribute for each element of Set1.

For each element returning false in Test1, raise a Message1.

Message1: Title attribute is missing
  • code : TitleAttributeMissing
  • status: Failed
  • parameter : src attribute, snippet
  • present in source : yes

Analysis

Not Applicable

The page has no iframe tag (Set1 is empty)

Failed

At least one iframe tag has no "title" attribute (Test1 returns false for at least one element of Set1)

Passed

All the iframe tags have an "title" attribute (Test1 returns true for all the elements of Set1)

Notes

No notes yet for that rule