Test::WWW::Accessibility;
use Test::More tests => 1; use Test::WWW::Accessibility; my $html = ...; img_tags_have_alt_ok( $html ); # more functions to come
This module provides functions to check a web page for accessibility
All of these functions are exported by default.
This function will run several other of the tests and return a single answer.
NOT YET IMPLEMENTED
OK if all of the IMG tags in HTML have non-empty ALT values (so the empty string does not count!).
You can specify a name for the test as the optional, second argument. If you don't, the function supplies on for you.
Link text is not "click here".
Link text for each URL is unique.
This source is part of a SourceForge project which always has the latest sources in CVS, as well as all of the previous releases.
http://sourceforge.net/projects/brian-d-foy/
If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.
brian d foy, <bdfoy@cpan.org>
<bdfoy@cpan.org>
Copyright 2004 brian d foy, All rights reserved.
You can use this module under the same terms as Perl itself.
To install Test::WWW::Accessibility, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::WWW::Accessibility
CPAN shell
perl -MCPAN -e shell install Test::WWW::Accessibility
For more information on module installation, please visit the detailed CPAN module installation guide.