A Django package for accessibility checks during development.
Project description
AccessibleDjango 🌟
Python 3.10+ | License: MIT | Version: 0.0.1
AccessibleDjango is a Django package focused on checking your web applications for accessibility compliance. It ensures your app adheres to accessibility standards, making your web interfaces usable for everyone, including individuals with disabilities. AccessibleDjango currently checks for missing or empty alt attributes in <img> tags, with plans for further accessibility features in future releases.
🌟 Features
-
Accessibility Checks:
Automatically evaluates views and templates for common accessibility issues, such as missing or emptyaltattributes in<img>tags. -
Detailed Reports:
Generates comprehensive accessibility reports highlighting issues found in your templates and views. -
Developer-Friendly Tools:
Easily integrate AccessibleDjango into your project and CI pipelines. -
Customizable Rules:
Tailor the accessibility checks to suit your application’s needs, including enabling/disabling checks for specific issues.
⚠️ Important Notes
AccessibleDjango currently focuses exclusively on checking alt attributes for <img> tags. Future releases may include features such as:
- Prebuilt accessible templates.
- Enhanced form generation tools.
- Real-time accessibility validation in the development environment.
🚀 Quick Start
Installation
To install AccessibleDjango, run:
pip install accessible-django
Basic Usage
Add to Installed Apps
In your settings.py, add 'accessible_django' to the INSTALLED_APPS list:
INSTALLED_APPS = [
...,
'accessible_django',
]
Run Accessibility Checks
Run the following command to check for accessibility issues in your templates:
python manage.py check_accessibility
📖 Documentation
Running Checks
python manage.py check --deploy
🚧 Limitations
- AccessibleDjango currently focuses only on identifying accessibility issues related to
altattributes in<img>tags. - It does not yet provide prebuilt accessible templates, form enhancements, or real-time validation in development.
- Manual testing may be required for third-party components.
🗺️ Roadmap
We are actively working to expand AccessibleDjango to include additional accessibility features. Future releases may include:
- Prebuilt Accessible Templates: Ready-to-use templates that adhere to WCAG 2.1 standards.
- Enhanced Form Generation Tools: Tools for generating accessible forms and validating form input accessibility.
- Real-Time Accessibility Validation: A live testing mode to validate accessibility as you develop.
- Comprehensive Accessibility Checks: Full support for various accessibility issues, such as ARIA roles, color contrast, form validation, and more.
For more details, see FUTURE.md.
🤝 Contributing
We welcome contributions to AccessibleDjango! Please feel free to submit a Pull Request or open an issue on GitHub.
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.
🙏 Acknowledgments
Built with ❤️ by the Accessible Django Team. Special thanks to all contributors and the accessibility community for their support.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file accessible_django-1.0.0.tar.gz.
File metadata
- Download URL: accessible_django-1.0.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9820710b811400de741ca1f4819c1f4e7c02e8b09acf8891e76c59b5eb25b4a
|
|
| MD5 |
6980267e8260575924961bc808976334
|
|
| BLAKE2b-256 |
99d4a5aafec8a551ed921d0ae20221df810fb3c5eefca2861048960c92b40281
|
File details
Details for the file accessible_django-1.0.0-py3-none-any.whl.
File metadata
- Download URL: accessible_django-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d7e8c3601787cb66882d14bce45b11ae05b5687aaee6c40fe7b7520f44be69e
|
|
| MD5 |
b2432a4c0a980d627e818c297175ca5a
|
|
| BLAKE2b-256 |
9275a96c693b595b985f7014f774a880ea2425677aefbc0147f2f6164381594f
|