Skip to main content

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 empty alt attributes 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 alt attributes 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:

  1. Prebuilt Accessible Templates: Ready-to-use templates that adhere to WCAG 2.1 standards.
  2. Enhanced Form Generation Tools: Tools for generating accessible forms and validating form input accessibility.
  3. Real-Time Accessibility Validation: A live testing mode to validate accessibility as you develop.
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

accessible_django-1.0.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

accessible_django-1.0.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

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

Hashes for accessible_django-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e9820710b811400de741ca1f4819c1f4e7c02e8b09acf8891e76c59b5eb25b4a
MD5 6980267e8260575924961bc808976334
BLAKE2b-256 99d4a5aafec8a551ed921d0ae20221df810fb3c5eefca2861048960c92b40281

See more details on using hashes here.

File details

Details for the file accessible_django-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for accessible_django-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d7e8c3601787cb66882d14bce45b11ae05b5687aaee6c40fe7b7520f44be69e
MD5 b2432a4c0a980d627e818c297175ca5a
BLAKE2b-256 9275a96c693b595b985f7014f774a880ea2425677aefbc0147f2f6164381594f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page