acop - enforcing accessibility for web pages

Acop

Acop

Description

acop is a command line utility for verifying accessibility in web pages

With acop, you can specify a url you want to test for accessibility and acop would run through a checklist of accessibility concerns and return any issues found

Installation

gem install acop

Synopsis

Access the command line help

acop --help

Specify the url you want accessibility tested

acop -u http://www.google.com

Checkpoints

Images

<input type='image'...

  • Image inputs elements should have alt attributes
  • Image inputs elements should not have alt attributes empty

<img...

  • Image elements should have alt attributes
  • Image elements should not have alt attributes empty

<a><img...

  • Image elements inside anchor tags should have empty alt attributes

Title

<title></title>

  • Page title element should not be empty

<!DOCTYPE Resource SYSTEM 'foo.dtd'>

  • doctype should be specified if frame or iframe elements exist on the page

<frameset><frame title=""...

  • Frame elements should have title attributes
  • Frame elements should not have title attributes empty

<iframe title=""...

  • iFrame elements should have title attributes
  • iFrame elements should not have title attributes empty

Bugs

Report bugs and requests at the Github page.

Copyright 2013 by Avinash Padmanabhan under the MIT license (see the LICENSE file).