Browse Source

Accessibility statement (#783)

* Accessibility statement

* Alphabetical order for footer links

* Fix encoding heisenspec
pull/785/head
baarkerlounger 2 years ago committed by GitHub
parent
commit
fbe9336bb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/controllers/content_controller.rb
  2. 61
      app/views/content/accessibility_statement.md
  3. 3
      app/views/layouts/_footer.html.erb
  4. 3
      spec/requests/locations_controller_spec.rb

2
app/controllers/content_controller.rb

@ -1,6 +1,6 @@
class ContentController < ApplicationController class ContentController < ApplicationController
def accessibility_statement def accessibility_statement
render_content_page :accessibility_statement render_content_page :accessibility_statement, page_title: "Accessibility statement for Submit social housing lettings and sales data (CORE)"
end end
def privacy_notice def privacy_notice

61
app/views/content/accessibility_statement.md

@ -0,0 +1,61 @@
This accessibility statement applies to the Submit social housing lettings and sales data (CORE) online service.
This website is run by the Department for Levelling Up, Housing and Communities (DLUHC). We want as many people as possible to be able to use this website. For example, that means you should be able to:
- change colours, contrast levels and fonts
- 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:
- an empty link on the ‘Users’ page within ‘Your Organisation’ will cause problems for some users of assistive technology (A)
- an optional field is not clearly labelled on the ‘Invite user to submit CORE data’ page (A)
- a skip link for an error message on the ‘Household’s combined income after tax’ page doesn’t work (A)
- radio buttons on multiple pages had different functionality depending on the browser used (AAA)
- the required currency symbol on the ‘Household’s combined income after tax’ page is hidden from the label for users of screen readers (AAA)
- the input type ‘email’ interferes with Dragon voice activation software on the ‘Sign in to your account to submit CORE data page’ (AAA)
### Feedback and contact information
If you need information on this website in a different format like accessible PDF, large print, easy read, audio recording or braille, you can contact us by:
- email: [dluhc.digital-services@levellingup.gov.uk](mailto: dluhc.digital-services@levellingup.gov.uk)
- phone: 0333 202 5084
We’ll consider your request and get back to you in 2 working days.
You can also contact us through the helpdesk.
### 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, contact the helpdesk.
### 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
DLUHC 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
This website is partially compliant with the Web Content Accessibility Guidelines version 2.1 AA standard due to the non-compliances listed below.
## Non-accessible content
The content listed below is non-accessible for the following reasons.
### Non-compliance with the accessibility regulations
An empty link on the ‘Users’ page within ‘Your Organisation’ will cause problems for some users of assistive technology. This fails WCAG 2.1 success criteria 2.4.4 Link Purpose – in context (Level A) and 3.3.2 Labels or Instructions (Level A).
We plan to fix this by December 2022.

3
app/views/layouts/_footer.html.erb

@ -31,6 +31,9 @@
<h2 class="govuk-visually-hidden">Helpful links</h2> <h2 class="govuk-visually-hidden">Helpful links</h2>
<ul class="govuk-footer__inline-list govuk-!-margin-top-6 govuk-!-margin-bottom-0"> <ul class="govuk-footer__inline-list govuk-!-margin-top-6 govuk-!-margin-bottom-0">
<li class="govuk-footer__inline-list-item">
<%= govuk_link_to("Accessibility statement", accessibility_statement_path, class: "govuk-footer__link") %>
</li>
<li class="govuk-footer__inline-list-item"> <li class="govuk-footer__inline-list-item">
<%= govuk_link_to("Privacy notice", privacy_notice_path, class: "govuk-footer__link") %> <%= govuk_link_to("Privacy notice", privacy_notice_path, class: "govuk-footer__link") %>
</li> </li>

3
spec/requests/locations_controller_spec.rb

@ -987,7 +987,8 @@ RSpec.describe LocationsController, type: :request do
end end
it "has search in the title" do it "has search in the title" do
expect(page).to have_title("#{scheme.service_name} (1 location matching ‘#{search_param}’) - Submit social housing lettings and sales data (CORE) - GOV.UK") expected_title = CGI.escapeHTML("#{scheme.service_name} (1 location matching ‘#{search_param}’) - Submit social housing lettings and sales data (CORE) - GOV.UK")
expect(page).to have_title(expected_title)
end end
end end
end end

Loading…
Cancel
Save