aMustContainText Class Reference
[Accessibility Tests]

Inherits quailTest.

Collaboration diagram for aMustContainText:
[legend]

List of all members.

Public Member Functions

 check ()
 isNotAnchor ($a)


Detailed Description

Each source anchor contains text. a (anchor) element must contain text. The text may occur in the anchor text or in the title attribute of the anchor or in the Alt text of an image used within the anchor. http://quail-lib.org/test-info/aMustContainText

Definition at line 317 of file accessibility_tests.php.


Member Function Documentation

aMustContainText::check (  ) 

The main check function. This is called by the parent class to actually check content

Definition at line 327 of file accessibility_tests.php.

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

aMustContainText::isNotAnchor ( a  ) 

Returns if a link is not a candidate to be an anchor (which does not need text)

Parameters:
object The element link in question
Returns:
bool Whether is is a link (TRUE) or an anchor (FALSE)

Definition at line 341 of file accessibility_tests.php.


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

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