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.
Release files for accessible-django 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| accessible_django-1.0.0.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| accessible_django-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / accessible_django-1.0.0.tar.gz
| Download URL | accessible_django-1.0.0.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9820710b811400de741ca1f4819c1f4e7c02e8b09acf8891e76c59b5eb25b4a
|
|
BLAKE2b-256 checksum How to use checksums |
99d4a5aafec8a551ed921d0ae20221df810fb3c5eefca2861048960c92b40281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / accessible_django-1.0.0-py3-none-any.whl
| Download URL | accessible_django-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d7e8c3601787cb66882d14bce45b11ae05b5687aaee6c40fe7b7520f44be69e
|
|
BLAKE2b-256 checksum How to use checksums |
9275a96c693b595b985f7014f774a880ea2425677aefbc0147f2f6164381594f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|