From a26412b6076ce203023bfba2827d286e4d1d1cc8 Mon Sep 17 00:00:00 2001 From: Glen Sharp Date: Sun, 25 May 2025 19:43:34 +0100 Subject: [PATCH 1/6] Added accessibility statement page and footer link --- .../templates/accessibility/base.html | 36 +++++ .../templates/accessibility/changes.html | 48 ++++++ .../templates/accessibility/index.html | 150 ++++++++++++++++++ djangoproject/templates/includes/footer.html | 1 + djangoproject/urls/www.py | 10 ++ 5 files changed, 245 insertions(+) create mode 100644 djangoproject/templates/accessibility/base.html create mode 100644 djangoproject/templates/accessibility/changes.html create mode 100644 djangoproject/templates/accessibility/index.html diff --git a/djangoproject/templates/accessibility/base.html b/djangoproject/templates/accessibility/base.html new file mode 100644 index 0000000000..ddba59c1cd --- /dev/null +++ b/djangoproject/templates/accessibility/base.html @@ -0,0 +1,36 @@ +{% extends "base_community.html" %} +{% load i18n %} + +{% block og_title %}{% translate "Django Accessibility Statement" %}{% endblock %} +{% block og_description %}{% translate "We welcome you." %}{% endblock %} + +{% block header %} +

{% translate "Django Accessibility Statement" %}

+{% endblock %} + +{% block content-related %} +
+

{% translate "Django Accessibility Statement" %}

+ + + +

{% translate "License" %}

+

+ {% blocktranslate trimmed %} + All content on this page is licensed under a + Creative Commons + Attribution license. + {% endblocktranslate %} +

+

+ + CC-by + +

+
+{% endblock %} + +{% block title %}{% translate "Django Accessibility Statement" %}{% endblock %} diff --git a/djangoproject/templates/accessibility/changes.html b/djangoproject/templates/accessibility/changes.html new file mode 100644 index 0000000000..4b10e0b13f --- /dev/null +++ b/djangoproject/templates/accessibility/changes.html @@ -0,0 +1,48 @@ +{% extends "accessibility/base.html" %} +{% load date_format i18n %} + +{% block title %}{% translate "Django Accessibility Statement - Changes" %}{% endblock %} +{% block og_title %}{% translate "Django Accessibility Statement - Changes" %}{% endblock %} + +{% block content %} +

{% translate "Django Accessibility Statement - Changes" %}

+ +

{% translate "Change control process" %}

+ +

+ {% blocktranslate trimmed %} + We're (mostly) programmers, so we'll track changes to the accessibility statement + the same way we track changes to code. All changes will be proposed via a pull request + to the + djangoproject.com repository + on GitHub. Changes will be reviewed by the membership first, and then + sent to the DSF and the Django community for comment. + We'll hold a comment period of at least one week, then the DSF board will vote on + the change. Approved changes will be merged, published, and noted below. + {% endblocktranslate %} +

+ +

+ {% blocktranslate trimmed %} + This only applies to material changes; changes that don't affect the intent + (typo fixes, re-wordings, etc.) can be made immediately. + {% endblocktranslate %} +

+ +

+ {% blocktranslate trimmed %} + A complete list of changes can always be found + on GitHub; + major changes and releases are summarized below. + {% endblocktranslate %} +

+ +

{% translate "Changelog" %}

+ +
+
{% isodate "2025-05-25" %}
+
+ {% translate "Initial release" %}.
+
+ +{% endblock %} diff --git a/djangoproject/templates/accessibility/index.html b/djangoproject/templates/accessibility/index.html new file mode 100644 index 0000000000..56f5ef6257 --- /dev/null +++ b/djangoproject/templates/accessibility/index.html @@ -0,0 +1,150 @@ +{% extends "accessibility/base.html" %} +{% load i18n %} + +{% block title %}{% translate "Django Accessibility Statement" %}{% endblock %} + +{% block content %} + +

{% translate "Django Accessibility Statement" %}

+ +

+ {% blocktranslate trimmed %} + The Django Software Foundation is committed to fostering an inclusive and + accessible community, project, and ecosystem. Accessibility is integral to + creating a space where everyone — regardless of ability — can contribute, + build, and benefit from the Django framework and its broader community. + {% endblocktranslate %} +

+ +

{% translate "Our commitment" %}

+ +

+ {% blocktranslate trimmed %} + We strive to make Django itself and its related online and in-person spaces + accessible for all. This includes: + {% endblocktranslate %} +

+ + + +

{% translate "Accessibility in the Django web framework" %}

+ +

+ {% blocktranslate trimmed %} + We aim for conformance with recognized standards such as the + + Web Content Accessibility Guidelines + (WCAG) and the + + Authoring Tool Accessibility Guidelines + (ATAG). Where feasible, we strive to exceed these standards. Through documentation, tutorials, + and exemplar implementation, we highlight best practices for building accessible applications. + {% endblocktranslate %} +

+ +

{% translate "Community and events" %}

+ +

+ {% blocktranslate trimmed %} + The Django Software Foundation is committed to ensuring that events receiving our grant funding + are accessible to all. We encourage organizers to choose venues and platforms that meet physical + accessibility needs, that provide resources such as captioning and sign language interpretation + where possible. We welcome feedback to make improvements on any and all aspects of physical + accessibility. + {% endblocktranslate %} +

+ +

{% translate "What we do" %}

+ +

{% translate "Known issues and continuous improvement" %}

+ +

+ {% blocktranslate trimmed %} + We acknowledge that there is always room to improve. Accessibility is an ongoing process, and + we aim to address issues as they arise. Known accessibility issues with the Django framework, + admin interface, or community platforms are tracked publicly, and we welcome collaboration to + resolve them. + {% endblocktranslate %} +

+ +

{% translate "For further details, see:" %}

+ + + +

{% translate "Current efforts" %}

+ +

+ {% blocktranslate trimmed %} + The Django accessibility team + encourages projects maintained by the Django Software Foundation to be accessible to as many people as possible, + particularly those with disabilities that make using the web more difficult. This includes + + testing with assistive technologies, reviewing changes to Django for accessibility, updating project guidelines + and documentation, and publishing reports. + {% endblocktranslate %} +

+ +

{% translate "How you can help" %}

+ +

{% translate "We invite all members of the community to contribute to accessibility efforts. This could include:" %}

+ + + +

+ {% blocktranslate trimmed %} + For more information and opportunities to contribute, consider contacting the + Django accessibility team. + {% endblocktranslate %} +

+ +

{% translate "Feedback and contact" %}

+ +

+ {% blocktranslate trimmed %} + We value your input. If you encounter an accessibility barrier or have suggestions for improvement and none of the + above options seem appropriate, please contact the accessibility team. Find us on: + Accessibility on the forum, + #accessibility on Discord, + or if neither work for you please use the + Contact us page. + {% endblocktranslate %} +

+ + +{% endblock %} diff --git a/djangoproject/templates/includes/footer.html b/djangoproject/templates/includes/footer.html index b33d979c99..685f14a466 100644 --- a/djangoproject/templates/includes/footer.html +++ b/djangoproject/templates/includes/footer.html @@ -14,6 +14,7 @@

Learn More

  • Django Software Foundation
  • Code of Conduct
  • Diversity Statement
  • +
  • Accessibility Statement
  • diff --git a/djangoproject/urls/www.py b/djangoproject/urls/www.py index 22edfa7361..c37703d01b 100644 --- a/djangoproject/urls/www.py +++ b/djangoproject/urls/www.py @@ -94,6 +94,16 @@ TemplateView.as_view(template_name="diversity/changes.html"), name="diversity_changes", ), + path( + "accessibility/", + TemplateView.as_view(template_name="accessibility/index.html"), + name="accessibility", + ), + path( + "accessibility/changes/", + TemplateView.as_view(template_name="accessibility/changes.html"), + name="accessibility_changes", + ), path("contact/", include("contact.urls")), path("foundation/django_core/", CoreDevelopers.as_view()), path("foundation/minutes/", include("foundation.urls.meetings")), From b7b65e20786aa9e48006a3e3d6c8967c1e9505c8 Mon Sep 17 00:00:00 2001 From: Glen Sharp Date: Sun, 25 May 2025 19:46:00 +0100 Subject: [PATCH 2/6] Added commit URL to change log --- djangoproject/templates/accessibility/changes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangoproject/templates/accessibility/changes.html b/djangoproject/templates/accessibility/changes.html index 4b10e0b13f..2c410d8f9e 100644 --- a/djangoproject/templates/accessibility/changes.html +++ b/djangoproject/templates/accessibility/changes.html @@ -41,7 +41,7 @@

    {% translate "Changelog" %}

    {% isodate "2025-05-25" %}
    -
    +
    {% translate "Initial release" %}.
    From 1efb50cb5209d4ebf2f5da355d4e728c5982885b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 25 May 2025 18:47:32 +0000 Subject: [PATCH 3/6] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../templates/accessibility/index.html | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/djangoproject/templates/accessibility/index.html b/djangoproject/templates/accessibility/index.html index 56f5ef6257..a05769c75a 100644 --- a/djangoproject/templates/accessibility/index.html +++ b/djangoproject/templates/accessibility/index.html @@ -84,12 +84,12 @@

    {% translate "Known issues and continuous improvement" %}

    - -

    - {% blocktranslate trimmed %} - For more information and opportunities to contribute, consider contacting the - Django accessibility team. - {% endblocktranslate %} -

    - -

    {% translate "Feedback and contact" %}

    - -

    - {% blocktranslate trimmed %} - We value your input. If you encounter an accessibility barrier or have suggestions for improvement and none of the - above options seem appropriate, please contact the accessibility team. Find us on: - Accessibility on the forum, - #accessibility on Discord, - or if neither work for you please use the - Contact us page. - {% endblocktranslate %} -

    +
  • +

    {% translate "Sponsoring or contributing to accessibility-focused initiatives." %}

    + + +

    + {% blocktranslate trimmed %} + For more information and opportunities to contribute, consider contacting the + Django accessibility team. + {% endblocktranslate %} +

    + +

    {% translate "Feedback and contact" %}

    + +

    + {% blocktranslate trimmed %} + We value your input. If you encounter an accessibility barrier or have suggestions for improvement and none of the + above options seem appropriate, please contact the accessibility team. Find us on: + Accessibility on the forum, + #accessibility on Discord, + or if neither work for you please use the + Contact us page. + {% endblocktranslate %} +

    {% endblock %} From 7aeb129413fa145244eb32c108a924471cf2d1d1 Mon Sep 17 00:00:00 2001 From: Glen Sharp Date: Tue, 14 Oct 2025 21:37:15 +0100 Subject: [PATCH 4/6] Updates from PR comments --- .../templates/accessibility/changes.html | 48 ---------------- .../templates/accessibility/index.html | 56 +++++++++++-------- 2 files changed, 32 insertions(+), 72 deletions(-) delete mode 100644 djangoproject/templates/accessibility/changes.html diff --git a/djangoproject/templates/accessibility/changes.html b/djangoproject/templates/accessibility/changes.html deleted file mode 100644 index 2c410d8f9e..0000000000 --- a/djangoproject/templates/accessibility/changes.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "accessibility/base.html" %} -{% load date_format i18n %} - -{% block title %}{% translate "Django Accessibility Statement - Changes" %}{% endblock %} -{% block og_title %}{% translate "Django Accessibility Statement - Changes" %}{% endblock %} - -{% block content %} -

    {% translate "Django Accessibility Statement - Changes" %}

    - -

    {% translate "Change control process" %}

    - -

    - {% blocktranslate trimmed %} - We're (mostly) programmers, so we'll track changes to the accessibility statement - the same way we track changes to code. All changes will be proposed via a pull request - to the - djangoproject.com repository - on GitHub. Changes will be reviewed by the membership first, and then - sent to the DSF and the Django community for comment. - We'll hold a comment period of at least one week, then the DSF board will vote on - the change. Approved changes will be merged, published, and noted below. - {% endblocktranslate %} -

    - -

    - {% blocktranslate trimmed %} - This only applies to material changes; changes that don't affect the intent - (typo fixes, re-wordings, etc.) can be made immediately. - {% endblocktranslate %} -

    - -

    - {% blocktranslate trimmed %} - A complete list of changes can always be found - on GitHub; - major changes and releases are summarized below. - {% endblocktranslate %} -

    - -

    {% translate "Changelog" %}

    - -
    -
    {% isodate "2025-05-25" %}
    -
    - {% translate "Initial release" %}.
    -
    - -{% endblock %} diff --git a/djangoproject/templates/accessibility/index.html b/djangoproject/templates/accessibility/index.html index a05769c75a..b0d95b6445 100644 --- a/djangoproject/templates/accessibility/index.html +++ b/djangoproject/templates/accessibility/index.html @@ -16,7 +16,7 @@

    {% translate "Django Accessibility Statement" %}

    {% endblocktranslate %}

    -

    {% translate "Our commitment" %}

    +

    {% translate "Our commitment" %}

    {% blocktranslate trimmed %} @@ -25,7 +25,7 @@

    {% translate "Our commitment" %}

    {% endblocktranslate %}

    -
      +
      • {% translate "Supporting the creation of accessible web applications with Django." %}
      • {% blocktranslate trimmed %} @@ -39,7 +39,7 @@

        {% translate "Our commitment" %}

        {% endblocktranslate %}
      -

      {% translate "Accessibility in the Django web framework" %}

      +

      {% translate "Accessibility in the Django web framework" %}

      {% blocktranslate trimmed %} @@ -54,7 +54,13 @@

      {% translate "Accessibility in the Django web framework" %}

      {% endblocktranslate %}

      -

      {% translate "Community and events" %}

      +

      + {% blocktranslate trimmed %} + We also encourage feedback and contributions to improve accessibility features in Django’s admin interface and related tools such as Django forms, particularly from people with disabilities or other accessibility needs. + {% endblocktranslate %} +

      + +

      {% translate "Community and events" %}

      {% blocktranslate trimmed %} @@ -66,9 +72,9 @@

      {% translate "Community and events" %}

      {% endblocktranslate %}

      -

      {% translate "What we do" %}

      +

      {% translate "What we do" %}

      -

      {% translate "Known issues and continuous improvement" %}

      +

      {% translate "Known issues and continuous improvement" %}

      {% blocktranslate trimmed %} @@ -81,12 +87,9 @@

      {% translate "Known issues and continuous improvement" %}

      {% translate "For further details, see:" %}

      -