Skip to main content

Accessibility content checks for Wagtail websites

Project description

wagtail-accessibility

✅ Accessibility content checks for Wagtail websites. Try it out on our static demo page!


Screenshot of a content page with accessibility checker, flagging a heading issue

Installing

Install using pip:

pip install wagtail-accessibility

Then add wagtailaccessibility to your INSTALLED_APPS. It works with Wagtail 4.1 and upwards.

Using

This plugin, when added to your template, will add tota11y to all page previews. Tota11y is an accessibility visualization toolkit.

To use it, simply include this in your template, and from now on all page previews will include it.

{% load wagtailaccessibility_tags %}
{% tota11y %}

Jinja2

This plugin also contains a jinja2 implementation, to use it, include the following in your config.

{
    'BACKEND': 'django.template.backends.jinja2.Jinja2',
    'OPTIONS': {
        'extensions': [
            # […]
            'wagtailaccessibility.jinja2tags.tota11y',
        ],
    },
}

The template tag can then be used like so:

{{ tota11y() }}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail-accessibility-2.0.0.tar.gz (89.1 kB view details)

Uploaded Source

Built Distribution

wagtail_accessibility-2.0.0-py3-none-any.whl (90.7 kB view details)

Uploaded Python 3

File details

Details for the file wagtail-accessibility-2.0.0.tar.gz.

File metadata

  • Download URL: wagtail-accessibility-2.0.0.tar.gz
  • Upload date:
  • Size: 89.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for wagtail-accessibility-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b425feb5feb51df3530670759f9312cc0ac01c6db3824eb07cb099bf3999f8a3
MD5 cf3882ab7b94ec09d41a9b78878a8b06
BLAKE2b-256 81e49c2065d6a0cb3a19d48f43ee8fd04846cca5fb7b841e187b7e83cb0fc262

See more details on using hashes here.

Provenance

File details

Details for the file wagtail_accessibility-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_accessibility-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36b16a85a7a4447e97715078701ffabcbfd730287896ad644b4658eb028c0517
MD5 c0ba285f783ee582d68cbf2317183e9d
BLAKE2b-256 a51d546ea9d9742e65d078e60e1d5476b195a46e9b80317cb1edf6fcb127f0e7

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page