A plugin to assist with accessibility when developing in Wagtail.
Project description
A plugin to assist with accessibility when developing in Wagtail.
Installing
Install using pip:
pip install wagtail-accessibility
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
File details
Details for the file wagtail-accessibility-0.1.1.tar.gz
.
File metadata
- Download URL: wagtail-accessibility-0.1.1.tar.gz
- Upload date:
- Size: 74.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fab3b33821a700f90e84b135bd8f6f9dc3335b72b567d8f8fafc4653e7a53fd |
|
MD5 | 457024b915bbaf8e0b1b00749dfb3af5 |
|
BLAKE2b-256 | 1aff9b994aa183eed860f6c8246be9e3f4178d93f64966a2ccbfd48a1393c313 |