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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wagtail-accessibility-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 f0ef2bdd64cfa7ad718550584969edd8d3e3c7495bcbe57437dfaf046a39a96d
MD5 ebcaff0a8514f06d0ec3fd335ed5181c
BLAKE2b-256 acf202ddc8321ba89d5889ad2bc514df7b578b1967fdab9f91f73fc200bff8df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wagtail_accessibility-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5f0946843373a9e3ededc929acb018005b21552c1dec29f3c3b0c3dc5a2d6f6
MD5 482b72e153a1680c0eda2f5d80764acc
BLAKE2b-256 baf3c8658f6a13d919045b69c811171682f568bbbf09379582e5008e85e4517f

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