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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wagtail-accessibility-0.2.1.tar.gz
  • Upload date:
  • Size: 84.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/33.1.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.5.3

File hashes

Hashes for wagtail-accessibility-0.2.1.tar.gz
Algorithm Hash digest
SHA256 70a246bfa3bc85751317633353491c2f2432bd4ed54968f89ad1406d9e4d0190
MD5 fa9cba742696eb5e6d8776fab2fdea01
BLAKE2b-256 1a2d9bb00bc4e30be2dbc2031b128062efcd5afe4d26d639bc12f64dba736e87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wagtail_accessibility-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 85.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/33.1.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.5.3

File hashes

Hashes for wagtail_accessibility-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c69679a420c2699be3b9fe2aea90b7c62cd3952402c396f470cfc2d2f7fa11c5
MD5 58185df98d8b08a95098b537bbe19151
BLAKE2b-256 6a017b9535eb5a0b94edf712b0c9d1c0e862b2bbab32b3d46669d7334e2a4c86

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