Catalog PyPI
Back to packageRELEASE DETAILS

1.0.0

PyPI

accessible-django

A Django package for accessibility checks during development.

Published3 Dec 2024
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 1.0.0 documentation

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
beautifulsoup4
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
beautifulsoup4>=4.9.3runtime
Django
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
Django>=5.1.2runtime
mkdocs
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
mkdocs==1.6.1runtime
setuptools
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
setuptools==75.6.0runtime

Distribution files

2 collected
accessible_django-1.0.0-py3-none-any.whl

bdist_wheel · 8.72 KB · Python py3

Source file
accessible_django-1.0.0.tar.gz

sdist · 7.42 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:57 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:fd5f96571408ade23a1fdee6f229834fa34b4078dd10ffabe080b5ce718054b1

Other collected versions

View all collected versions →