Skip to content

collective/collective.a11ycheck

Repository files navigation

https://travis-ci.org/collective/collective.a11ycheck.svg?branch=master Coveralls Latest Version Egg Status

https://img.shields.io/pypi/pyversions/collective.a11ycheck.svg?style=plastic:alt:Supported-PythonVersions

License

collective.a11ycheck

Reports accessibility issues to your site editors when a page is saved.

When an editor saves a page (any content) in Plone, a11ycheck runs a subscriber that checks the full HTML of the page, and will display an alert to the editor if the page fails any of the set accessibility checks.

Initially, a11ycheck only checks against two issues. These are configurable through a control panel for whether or not your site will report these issues to the editors:

  • Each page should have exactly 1 <h1>
  • Each image should have alt text

Since the entire page's HTML is checked, issues that exist in the templates will also be reported. Works with regular Plone types and Mosaic pages.

The control panel includes the following configuration:

  • Which issues will be reported (all enabled by default)
  • Which content types will report issues on add (all enabled by default)
  • Which content types will report issues on edit (all enabled by default)

The subscriber runs against all Dexterity types on add and on edit. If you have content types that open the Mosaic editor as soon as the page is added, you will want to disable the subscriber on add for that type.

Installation

Install collective.a11ycheck by adding it to your buildout:

[buildout]

...

eggs =
    collective.a11ycheck

and then running bin/buildout

Contribute

License

The project is licensed under the GPLv2.

About

No description, website, or topics provided.

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published