The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::WWW::Accessibility;

SYNOPSIS

        use Test::More tests => 1;
        use Test::WWW::Accessibility;

        my $html = ...;

        img_tags_have_alt_ok( $html );

        # more functions to come

DESCRIPTION

This module provides functions to check a web page for accessibility

Functions

All of these functions are exported by default.

accessibility_ok( HTML )

This function will run several other of the tests and return a single answer.

NOT YET IMPLEMENTED

img_tags_have_alt_ok( HTML [, NAME] )

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.

no_server_side_imagemaps_ok( HTML )

NOT YET IMPLEMENTED

multimedia_has_caption_ok( HTML )

NOT YET IMPLEMENTED

no_click_here_ok( HTML )

Link text is not "click here".

NOT YET IMPLEMENTED

Link text for each URL is unique.

NOT YET IMPLEMENTED

validates_ok( HTML )

NOT YET IMPLEMENTED

SOURCE AVAILABILITY

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.

AUTHOR

brian d foy, <bdfoy@cpan.org>

COPYRIGHT

Copyright 2004 brian d foy, All rights reserved.

You can use this module under the same terms as Perl itself.