From 1fc343c96aed3976c40daa89fde96125f3b70977 Mon Sep 17 00:00:00 2001 From: "Nicholas H.Tollervey" Date: Thu, 22 Oct 2020 17:39:42 +0100 Subject: [PATCH 1/4] Add accessibility statement. First draft. --- controlpanel/frontend/jinja2/a11y.html | 102 +++++++++++++++++++ controlpanel/frontend/jinja2/base.html | 4 + controlpanel/frontend/urls.py | 2 +- controlpanel/frontend/views/__init__.py | 1 + controlpanel/frontend/views/accessibility.py | 8 ++ 5 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 controlpanel/frontend/jinja2/a11y.html create mode 100644 controlpanel/frontend/views/accessibility.py diff --git a/controlpanel/frontend/jinja2/a11y.html b/controlpanel/frontend/jinja2/a11y.html new file mode 100644 index 000000000..a22f7ac66 --- /dev/null +++ b/controlpanel/frontend/jinja2/a11y.html @@ -0,0 +1,102 @@ +{% extends "base.html" %} + +{% set page_title = "Accessibility Statement" %} + +{% block content %} +
+
+ + +

Accessibility statement for the MoJ Analytical Platform

+ +

This accessibility statement applies to the Control Panel web + application: a part of the Ministry of Justice's Analytical Platform.

+ +

This website is run by Analytical Platform Team of the Ministry of + Justice. We want as many people as possible to be able to use this website. + For example, that means you should be able to:

+ +
    +
  • zoom in up to 300% without the text spilling off the screen
  • +
  • navigate most of the website using just a keyboard
  • +
  • navigate most of the website using speech recognition software
  • +
  • listen to most of the website using a screen reader (including the + most recent versions of JAWS, NVDA and VoiceOver)
  • +
+ +

We've also made the website text as simple as possible to understand.

+ +

AbilityNet + has advice on making your device easier to use if you have a disability.

+ +

How accessible this website is

+ +

We know some parts of this website are not fully accessible:

+ +
    +
  • we understand there is reasonable accessibility compliance of + R Studio and Jupyter, and will be updating to the latest versions, but + there may be accessibility issues with older versions we provide via + this platform
  • +
  • you cannot change colours, contrast levels and fonts to aid + readability
  • +
+ +

Feedback and contact information

+ +

Any feedback and/or requests for help should be made via the + Analytical Platform + Slack Channel. We also have a + platform user guide + and + platform support documentation.

+ +

Reporting accessibility problems with this website

+ +

We're always looking to improve the accessibility of this website. If + you find any problems not listed on this page or think we're not meeting + accessibility requirements, please contact us via the links listed in the + feedback and contact information section.

+ +

Enforcement procedure

+ +

The Equality and Human Rights Commission (EHRC) is responsible for + enforcing the Public Sector Bodies (Websites and Mobile Applications) + (No. 2) Accessibility Regulations 2018 (the 'accessibility regulations'). + If you’re not happy with how we respond to your complaint, + contact the Equality Advisory and Support Service (EASS).

+ +

Technical information about this website’s accessibility

+ +

The Ministry of Justice's Analytical Platform Team is committed to + making its website accessible, in accordance with the Public Sector Bodies + (Websites and Mobile Applications) (No. 2) Accessibility Regulations + 2018.

+ +

Compliance status

+ +
    +
  • we have been through an accessibility checklist for the Control + Panel and believe it is compliant
  • +
  • we are in the process of booking a full accessibility audit of the + Analaytical Platform and will promptly update this statement
  • +
+ +

Preparation of this accessibility statement

+ +

This statement was prepared on 22nd October 2020. It was last reviewed + on 23rd October 2020.

+ +

This website was last tested on 27th August 2020. The test was carried + out by a member of the Analytical Platform team.

+ +

We checked all the pages in the control panel application (excluding + those that are parts of Jupyter, Airflow and RStudio) against + this accessibility + checklist.

+ +

A full accessibility audit by an independent third party will take + place very soon.

+
+
+{% endblock %} diff --git a/controlpanel/frontend/jinja2/base.html b/controlpanel/frontend/jinja2/base.html index 1981a4fa1..4e196dcfd 100644 --- a/controlpanel/frontend/jinja2/base.html +++ b/controlpanel/frontend/jinja2/base.html @@ -154,6 +154,10 @@ 'href': "https://asdslack.slack.com/messages/C4PF7QAJZ#", 'text': "Analytical platform slack channel", }, + { + 'href': url('accessibility'), + 'text': "Accessibility Statement", + }, { 'href': url('whats-new'), 'text': "What's new?", diff --git a/controlpanel/frontend/urls.py b/controlpanel/frontend/urls.py index 19aa9d9b1..64c182ed2 100644 --- a/controlpanel/frontend/urls.py +++ b/controlpanel/frontend/urls.py @@ -54,9 +54,9 @@ path("webapp-datasource-access//delete/", views.RevokeAppAccess.as_view(), name="revoke-app-access"), path("reset-user-home/", views.ResetHome.as_view(), name="home-reset"), path("whats-new/", views.WhatsNew.as_view(), name="whats-new"), - path("releases/", views.ReleaseList.as_view(), name="list-tool-releases"), path("release/new/", views.ReleaseCreate.as_view(), name="create-tool-release"), path("release//", views.ReleaseDetail.as_view(), name="manage-tool-release"), path("release//delete/", views.ReleaseDelete.as_view(), name="delete-tool-release"), + path("accessibility/", views.Accessibility.as_view(), name="accessibility"), ] diff --git a/controlpanel/frontend/views/__init__.py b/controlpanel/frontend/views/__init__.py index c4d1ec993..965ebcac4 100644 --- a/controlpanel/frontend/views/__init__.py +++ b/controlpanel/frontend/views/__init__.py @@ -68,6 +68,7 @@ ) from controlpanel.frontend.views.reset import ResetHome from controlpanel.frontend.views.whats_new import WhatsNew +from controlpanel.frontend.views.accessibility import Accessibility class IndexView(LoginRequiredMixin, TemplateView): diff --git a/controlpanel/frontend/views/accessibility.py b/controlpanel/frontend/views/accessibility.py new file mode 100644 index 000000000..71ea57989 --- /dev/null +++ b/controlpanel/frontend/views/accessibility.py @@ -0,0 +1,8 @@ +from django.conf import settings +from django.contrib.auth.mixins import LoginRequiredMixin +from django.views.generic.base import TemplateView +import requests + + +class Accessibility(LoginRequiredMixin, TemplateView): + template_name = "a11y.html" From 314c3de69f82aa589a095f98099f93849208e664 Mon Sep 17 00:00:00 2001 From: "Nicholas H.Tollervey" Date: Fri, 23 Oct 2020 09:52:33 +0100 Subject: [PATCH 2/4] Minor fixes in light of feedback. Thanks! --- controlpanel/frontend/jinja2/a11y.html | 11 ++++++----- controlpanel/frontend/jinja2/base.html | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/controlpanel/frontend/jinja2/a11y.html b/controlpanel/frontend/jinja2/a11y.html index a22f7ac66..cda5ee8e6 100644 --- a/controlpanel/frontend/jinja2/a11y.html +++ b/controlpanel/frontend/jinja2/a11y.html @@ -9,12 +9,13 @@

Accessibility statement for the MoJ Analytical Platform

-

This accessibility statement applies to the Control Panel web - application: a part of the Ministry of Justice's Analytical Platform.

+

This accessibility statement applies to the Ministry of Justice's + Analytical Platform.

-

This website is run by Analytical Platform Team of the Ministry of - Justice. We want as many people as possible to be able to use this website. - For example, that means you should be able to:

+

This service is run by Analytical Platform Team of the Ministry of + Justice. We want as many people as possible to be able to use this service. + For example, on the Control Panel website (this website) you + should be able to:

  • zoom in up to 300% without the text spilling off the screen
  • diff --git a/controlpanel/frontend/jinja2/base.html b/controlpanel/frontend/jinja2/base.html index 4e196dcfd..d473654ad 100644 --- a/controlpanel/frontend/jinja2/base.html +++ b/controlpanel/frontend/jinja2/base.html @@ -156,7 +156,7 @@ }, { 'href': url('accessibility'), - 'text': "Accessibility Statement", + 'text': "Accessibility statement", }, { 'href': url('whats-new'), From 3eaae9b00afbd78e8ea81d2716cc6954e9dcd115 Mon Sep 17 00:00:00 2001 From: "Nicholas H.Tollervey" Date: Fri, 23 Oct 2020 11:49:02 +0100 Subject: [PATCH 3/4] website -> service --- controlpanel/frontend/jinja2/a11y.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/controlpanel/frontend/jinja2/a11y.html b/controlpanel/frontend/jinja2/a11y.html index cda5ee8e6..8b218efe5 100644 --- a/controlpanel/frontend/jinja2/a11y.html +++ b/controlpanel/frontend/jinja2/a11y.html @@ -25,14 +25,14 @@

-

We've also made the website text as simple as possible to understand.

+

We've also made our textual content as simple as possible to understand.

AbilityNet has advice on making your device easier to use if you have a disability.

-

How accessible this website is

+

How accessible this service is

-

We know some parts of this website are not fully accessible:

+

We know some parts of this service are not fully accessible:

  • we understand there is reasonable accessibility compliance of @@ -52,9 +52,9 @@

    Feedback and c and platform support documentation.

    -

    Reporting accessibility problems with this website

    +

    Reporting accessibility problems with this service

    -

    We're always looking to improve the accessibility of this website. If +

    We're always looking to improve the accessibility of this service. If you find any problems not listed on this page or think we're not meeting accessibility requirements, please contact us via the links listed in the feedback and contact information section.

    @@ -67,10 +67,10 @@

    Enforcement procedure

    contact the Equality Advisory and Support Service (EASS).

    -

    Technical information about this website’s accessibility

    +

    Technical information about this service’s accessibility

    The Ministry of Justice's Analytical Platform Team is committed to - making its website accessible, in accordance with the Public Sector Bodies + making its service accessible, in accordance with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018.

    @@ -88,7 +88,7 @@

    Pre

    This statement was prepared on 22nd October 2020. It was last reviewed on 23rd October 2020.

    -

    This website was last tested on 27th August 2020. The test was carried +

    This service was last tested on 27th August 2020. The test was carried out by a member of the Analytical Platform team.

    We checked all the pages in the control panel application (excluding From 301803f840ef84e9134405fe0bf6fea03fdf6d96 Mon Sep 17 00:00:00 2001 From: "Nicholas H.Tollervey" Date: Tue, 3 Nov 2020 16:07:22 +0000 Subject: [PATCH 4/4] Final copy cleanups. --- controlpanel/frontend/jinja2/a11y.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/controlpanel/frontend/jinja2/a11y.html b/controlpanel/frontend/jinja2/a11y.html index 8b218efe5..45bb6430e 100644 --- a/controlpanel/frontend/jinja2/a11y.html +++ b/controlpanel/frontend/jinja2/a11y.html @@ -12,9 +12,9 @@

    This accessibility statement applies to the Ministry of Justice's Analytical Platform.

    -

    This service is run by Analytical Platform Team of the Ministry of +

    This service is run by Analytical Platform team of the Ministry of Justice. We want as many people as possible to be able to use this service. - For example, on the Control Panel website (this website) you + For example, on the Control Panel application (this website) you should be able to:

      @@ -27,7 +27,7 @@

      We've also made our textual content as simple as possible to understand.

      -

      AbilityNet +

      AbilityNet has advice on making your device easier to use if you have a disability.

      How accessible this service is

      @@ -46,18 +46,18 @@

      How accessible t

      Feedback and contact information

      Any feedback and/or requests for help should be made via the - Analytical Platform + Analytical Platform Slack Channel. We also have a - platform user guide + platform user guide and - platform support documentation.

      + platform support documentation.

      Reporting accessibility problems with this service

      We're always looking to improve the accessibility of this service. If you find any problems not listed on this page or think we're not meeting accessibility requirements, please contact us via the links listed in the - feedback and contact information section.

      + feedback and contact information section.

      Enforcement procedure

      @@ -65,11 +65,11 @@

      Enforcement procedure

      contact the Equality Advisory and Support Service (EASS).

      + contact the Equality Advisory and Support Service (EASS).

      Technical information about this service’s accessibility

      -

      The Ministry of Justice's Analytical Platform Team is committed to +

      The Ministry of Justice's Analytical Platform team is committed to making its service accessible, in accordance with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018.

      @@ -91,9 +91,9 @@

      Pre

      This service was last tested on 27th August 2020. The test was carried out by a member of the Analytical Platform team.

      -

      We checked all the pages in the control panel application (excluding +

      We checked all the pages in the Control Panel application (excluding those that are parts of Jupyter, Airflow and RStudio) against - this accessibility + this accessibility checklist.

      A full accessibility audit by an independent third party will take