PAAKT: The Python Accessibility Analysis Kit

PAAKT is a Python module that helps you evaluate accessibility issues in web pages. It can be used to check en entire site or to collect statistics for a subset of web sites.

Design goals

  • Focus on checks that can be measured without manual intervention. Other tools tend to leave you with a long list of “manual check required”.
  • Warning messages are in a separate specification (http://purl.org/net/awm/1.0/) enabling interoperability with other testing tools.
  • Distributed as a Python module to make it easy for you to extend it with your own tests.

PAAKT is partially sponsored by Verva, the Swedish Administrative Development Agency.

Code and usage examples will be available from the PAAKT SourceForge page. Current development version can be found in the subversion repository.

Installation

PAAKT is currently dependant on Fredrik Lundh’s ElementTree and ElementTidy packages.

To install, simply drop paakt.py in a folder and run your script from there. In the future I hope to be able to provide a simple commandl ine installation option.

Usage instructions

A minimal usage example:

DQppbXBvcnQgcGFha3QNCg0KIyBkZWZpbmUgcmVzb3VyY2VzIHRvIHRlc3QNCnVybHMgPSAoImh0dHA6Ly93d3cucGV0ZXJrcmFudHouY29tIiwNCiAgICAgICAgImh0dHA6Ly93d3cuZ29vZ2xlLmNvbSIpDQoNCiMgZGVmaW5lIHdoaWNoIHRlc3RzIHRvIHJ1bg0KdGVzdHMgPSAoImNoZWNrdGl0bGUiLA0KICAgICAgICAgImNoZWNraGFzaGVhZGluZyIsDQogICAgICAgICAiY2hlY2tkb2NzdHJ1Y3R1cmUiLA0KICAgICAgICAgImNoZWNraW1hZ2VhbHQiLA0KICAgICAgICAgImNoZWNrdGFibGVzIiwNCiAgICAgICAgICJjaGVja2ZpZWxkcyIpDQoNCiMgc2V0IHVwIHRoZSB0ZXN0IHdpdGggcmVzb3VyY2VzLCB0ZXN0cyB0byBydW4gYW5kIG91dHB1dCBmb3JtYXQNCnRlc3QgPSBwYWFrdC5hY2Nlc3NpYmlsaXR5dGVzdCh1cmxzLCB0ZXN0cywgIm4zIikNCnRlc3QucnVuKCkNCg==

The only output format currently available is RDF/n3 to the console. More formats will be available in the future.