inputHasLabel Class Reference

Inherits quailTest.

Inherited by checkboxHasLabel, fileHasLabel, inputTextHasLabel, passwordHasLabel, radioHasLabel, selectHasAssociatedLabel, and textareaHasAssociatedLabel.

Collaboration diagram for inputHasLabel:
[legend]

List of all members.

Public Member Functions

 check ()


Detailed Description

Base test class for tests which checks that the given input tag has an associated lable tag. To override, just override the tag and type variables, and use $no_type = true if it is a special form tag like textarea.

Definition at line 536 of file test.php.


Member Function Documentation

inputHasLabel::check (  ) 

Iterate through all the elemetns using the $tag tagname and the $type attribute (if appropriate) and then check it against a list of all LABEL tags.

Definition at line 557 of file test.php.

References quailTest::addReport(), and quailTest::getAllElements().


The documentation for this class was generated from the following file:

Generated on Sat Aug 21 08:55:11 2010 for QUAIL Accessibility Information library by  doxygen 1.5.7.1