Skip to content

Commit

Permalink
Merge pull request #91 from uktrade/DST-484_Accessibility_Statement
Browse files Browse the repository at this point in the history
DST-484: Adding accessibility statement
  • Loading branch information
EPedley authored Oct 8, 2024
2 parents d5a0719 + bde4312 commit 367514d
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
57 changes: 57 additions & 0 deletions django_app/core/templates/core/accessibility_statement.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{% extends "core/base.html" %}
{% load crispy_forms_tags crispy_forms_gds %}
{% block meta %}<meta name="Accessibility statement – Apply for a licence to provide sanctioned trade services – GOV.UK" content="Information about the accessibility of the ‘Apply for a licence to provide sanctioned trade services’ service."> {% endblock meta %}
{% block title %}Accessibility statement{% endblock title %}
{% block column_content %}

<h1 class="govuk-heading-l">Accessibility statement for ‘Apply for a licence to provide sanctioned trade services’ service. </h1>
<p class="govuk-body">This statement applies to the ‘Apply for a licence to provide sanctioned trade services’ service.</p>
<p class="govuk-body">This service is part of the wider GOV.UK website. There's a separate <a href="https://www.gov.uk/help/accessibility-statement/" class="govuk-link">accessibility statement for the main GOV.UK website</a>.</p>
<p class="govuk-body"> This service is run by the Department for Business and Trade (DBT). We want as many people as possible to use it. For example, that means you should be able to:</p>
<ul class="govuk-list govuk-list--bullet">
<li>change colours, contrast levels and fonts</li>
<li>zoom in up to 200% without the text spilling off the screen</li>
<li>get from the start of the service to the end using just a keyboard or speech recognition software</li>
<li>listen to the service using a screen reader (including the most recent versions of JAWS, NVDA and VoiceOver)</li>
</ul>
<p class="govuk-body">We’ve also made the website text as simple as possible to understand.</p>
<p class="govuk-body"><a href="https://mcmw.abilitynet.org.uk" class="govuk-link" target="_blank">AbilityNet</a>
has advice on making your device easier to use if you have a disability.</p>

<h2 class="govuk-heading-m">Feedback and contact information</h2>
<p class="govuk-body">If you need accessibility support to access this service, email
<a href="mailto:{{ otsi_email }}" class="govuk-link">{{ otsi_email }}</a>.</p>
<p class="govuk-body">If you find any problems not listed on this page or think we do not meet accessibility requirements, contact us. We’ll consider your request and get back to you within 20 days.</p>

<h2 class="govuk-heading-m">Enforcement procedure</h2>
<p class="govuk-body"> 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,
<a href="https://www.gov.uk/equality-advisory-support-service/" class="govuk-link">contact the Equality Advisory and Support Service (EASS)</a>.</p>

<h2 class="govuk-heading-l">Technical information about the accessibility of this service</h2>
<p class="govuk-body">DBT is committed to making this service accessible, in accordance with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018.</p>

<h2 class="govuk-heading-m">Compliance status</h2>
<p class="govuk-body">This service is fully compliant with the
<a href="https://www.w3.org/TR/WCAG22/" class="govuk-link">Web Content Accessibility Guidelines (WCAG)</a>
version 2.2 AA standard.</p>


<h1 class="govuk-heading-l">Non-accessible content</h1>

<h2 class="govuk-heading-m">Content that’s not within the scope of the accessibility regulations</h2>
<p class="govuk-body">There are some usability issues that fall outside the scope of the UK accessibility regulations. These include:</p>
<ul class="govuk-list govuk-list--bullet">
<li>some of the colour combinations do not meet enhanced contrast ratios and may be difficult for people with colour vision deficiency to read</li>
<li>error prevention is low in some places, which means users may accidentally submit incorrect information</li>
<li>users of speech recognition software may find it difficult to start a file upload, and may need to use keyboard or mouse commands instead</li>
<li>when an error message appears, keyboard users may not be able to skip straight from the error summary to the input field where the error occurred</li>
<li>some error messages do not fully describe the error that occurred and how to fix it </li>
</ul>

<h2 class="govuk-heading-l">Preparation of this accessibility statement</h2>
<p class="govuk-body">This statement was prepared on 23 September 2024. It was last reviewed on 23 September 2024.</p>
<p class="govuk-body">This service was last tested on 2 September 2024 against the WCAG 2.2 AA standard. The test was carried out by the
<a href="https://digitalaccessibilitycentre.org/" class="govuk-link">Digital Accessibility Centre (DAC)</a>.</p>

{% endblock column_content %}
4 changes: 4 additions & 0 deletions django_app/core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ <h2 class="govuk-visually-hidden">Support links</h2>
<a class="govuk-footer__link"
href="{% url 'privacy_notice' %}">Privacy notice</a>
</li>
<li class="govuk-footer__inline-list-item hide-on-print">
<a class="govuk-footer__link"
href="{% url 'accessibility_statement' %}">Accessibility statement</a>
</li>
{% if is_debug_mode %}
<li class="govuk-footer__inline-list-item hide-on-print">
<a class="govuk-footer__link" href="{% url 'reset_session' %}">Reset session</a>
Expand Down
1 change: 1 addition & 0 deletions django_app/core/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path("privacy-notice", generic_views.PrivacyNoticeView.as_view(), name="privacy_notice"),
path("hide_cookies", cookie_views.HideCookiesView.as_view(), name="hide_cookies"),
path("reset_session", generic_views.ResetSessionView.as_view(), name="reset_session"),
path("accessibility-statement", generic_views.AccessibilityStatementView.as_view(), name="accessibility_statement"),
]

if settings.ENFORCE_STAFF_SSO:
Expand Down
10 changes: 10 additions & 0 deletions django_app/core/views/generic_views.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from django.conf import settings
from django.http import HttpRequest, HttpResponse
from django.shortcuts import redirect
from django.views import View
Expand All @@ -14,3 +15,12 @@ def get(self, request: HttpRequest) -> HttpResponse:

class PrivacyNoticeView(TemplateView):
template_name = "core/privacy_notice.html"


class AccessibilityStatementView(TemplateView):
template_name = "core/accessibility_statement.html"

def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["otsi_email"] = settings.OTSI_EMAIL
return context

0 comments on commit 367514d

Please sign in to comment.