Skip to main content

A plugin to assist with accessibility when developing in Wagtail.

Project description

A plugin to assist with accessibility when developing in Wagtail. Screencast demo.

Installing

Install using pip:

pip install wagtail-accessibility

Then add ‘wagtailaccessibility’ to your INSTALLED_APPS. It works with Wagtail 1.0 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() }}

Project details


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-1.0.0.tar.gz (84.7 kB view details)

Uploaded Source

Built Distribution

wagtail_accessibility-1.0.0-py3-none-any.whl (85.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wagtail-accessibility-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7c05b8137a53f6c6eae3524c7eb20633f793363538f054d9fc18c925c2a9362a
MD5 39ec6ab9fe2228ec2f02e8b309cfe6c6
BLAKE2b-256 244c8f948d1cb007e5d861c447d92d2f2e6454f190f6de8d64bf22b405b0e01c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wagtail_accessibility-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5af1e6728be800bcb7758695c726463b4b1e90beeecb87e0ec5d1601081df5d7
MD5 a192f3aba9e6584e4a3eed3dd6515aff
BLAKE2b-256 9e1e8072e835554eb0b4742a256c35f7a93c755f95bbe5df9bf48301ffe8f372

See more details on using hashes here.

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