-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from dfe-analytical-services/panel_scripts
Updating dashboard to current DfE styling standards
- Loading branch information
Showing
167 changed files
with
183,866 additions
and
24,720 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
a11y_panel <- function() { | ||
tabPanel( | ||
"Accessibility", | ||
gov_main_layout( | ||
gov_row( | ||
column( | ||
width = 12, | ||
h1(paste0("Accessibility statement for ", dashboard_title)), | ||
tags$p( | ||
"This accessibility statement applies to the", | ||
dashboard_link, | ||
"website. This website is run by the ", | ||
external_link( | ||
href = "https://www.gov.uk/government/organisations/department-for-education", | ||
"Department for Education (DfE)" | ||
), | ||
".", | ||
"This statement does not cover any other services run by the Department for Education (DfE) or GOV.UK." | ||
), | ||
h2("How you should be able to use this website"), | ||
tags$p("We want as many people as possible to be able to use this website. You should be able to:"), | ||
tags$div(tags$ul( | ||
tags$li("change colours, contrast levels and fonts using browser or device settings"), | ||
tags$li("zoom in up to 400% without the text spilling off the screen"), | ||
tags$li("navigate most of the website using a keyboard or speech recognition software"), | ||
tags$li("listen to most of the website using a screen reader | ||
(including the most recent versions of JAWS, NVDA and VoiceOver)") | ||
)), | ||
tags$p("We’ve also made the website text as simple as possible to understand."), | ||
tags$p( | ||
external_link(href = "https://mcmw.abilitynet.org.uk/", "AbilityNet"), | ||
" has advice on making your device easier to use if you have a disability." | ||
), | ||
h2("How accessible this website is"), | ||
tags$p("We know some parts of this website are not fully accessible:"), | ||
tags$div(tags$ul( | ||
tags$li("Keyboard navigation through the interactive charts is currently limited, and some features are unavailable for keyboard only users"), | ||
tags$li("Alternative text in interactive charts is limited to titles and could be more descriptive (although this data is available in csv format)") | ||
)), # TODO | ||
h2("Feedback and contact information"), | ||
tags$p( | ||
"If you need information on this website in a different format please see the parent", | ||
"publications", | ||
external_link( | ||
href = "https://explore-education-statistics.service.gov.uk/find-statistics", | ||
"on Explore education statistics" | ||
), | ||
", as detailed on the data sources page of this service.", | ||
". More details are available on that service for alternative formats of this data.", | ||
), | ||
tags$p("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 us:"), | ||
tags$ul(tags$li( | ||
a( | ||
href = "mailto:[email protected]", | ||
"[email protected]" | ||
) | ||
)), | ||
h2("Enforcement procedure"), | ||
tags$p("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’)."), | ||
tags$p( | ||
"If you are not happy with how we respond to your complaint, ", | ||
external_link( | ||
href = "https://www.equalityadvisoryservice.com/", | ||
"contact the Equality Advisory and Support Service (EASS)" | ||
), | ||
"." | ||
), | ||
h2("Technical information about this website's accessibility"), | ||
tags$p("The Department for Education (DfE) is committed to making its website accessible, in accordance with the | ||
Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018."), | ||
h3("Compliance status"), | ||
tags$p( | ||
"This website is partially compliant with the ", | ||
external_link( | ||
href = "https://www.w3.org/TR/WCAG22/", | ||
"Web Content Accessibility Guidelines version 2.2 AA standard" | ||
), | ||
" due to the non-compliances listed below." | ||
), | ||
h3("Non accessible content"), | ||
tags$p("The content listed below is non-accessible for the following reasons. | ||
We will address these issues to ensure our content is accessible."), | ||
tags$div(tags$ul( | ||
tags$li("Charts have non-accessible components that are inaccessible for keyboard users."), | ||
tags$li("Chart tooltips are not compativle with screen reader use."), | ||
tags$li("Some decorative images are not labelled appropriately as yet."), | ||
tags$li("Some links are not appropriately labelled.") | ||
)), | ||
h3("Disproportionate burden"), | ||
tags$p("Not applicable."), | ||
h2("How we tested this website"), | ||
tags$p( | ||
"The template used for this website was last tested on 12 March 2024 against ", | ||
external_link( | ||
href = "https://www.w3.org/TR/WCAG22/", | ||
"Accessibility Guidelines WCAG2.2" | ||
), | ||
". The test was carried out by the ", | ||
external_link( | ||
href = "https://digitalaccessibilitycentre.org/", | ||
"Digital accessibility centre (DAC)" | ||
), | ||
"." | ||
), | ||
tags$p("DAC tested a sample of pages to cover the core functionality of the service including:"), | ||
tags$div(tags$ul( | ||
tags$li("navigation"), | ||
tags$li("interactive dropdown selections"), | ||
tags$li("charts, maps, and tables") | ||
)), | ||
tags$p( | ||
"This specific website was was last tested on 8th October 2024 against ", | ||
external_link( | ||
href = "https://www.w3.org/TR/WCAG22/", | ||
"Accessibility Guidelines WCAG2.2" | ||
), | ||
". The test was carried out by the ", | ||
external_link( | ||
href = "https://www.gov.uk/government/organisations/department-for-education", | ||
"Department for Education (DfE)" | ||
), | ||
"." | ||
), | ||
h2("What we're doing to improve accessibility"), | ||
tags$p("We plan to continually test the service for accessibility issues, and are working through a prioritised | ||
list of issues to resolve."), | ||
tags$p( | ||
"Our current list of issues to be resolved is available on our ", | ||
external_link( | ||
href = paste0(public_repo_link, "/issues"), | ||
"GitHub issues page" | ||
), | ||
"." | ||
), | ||
h2("Preparation of this accessibility statement"), | ||
tags$p("This statement was prepared on 1st July 2024. It was last reviewed on 8th October 2024."), | ||
tags$p( | ||
"The template used for this website was last tested in March 2024 against the WCAG 2.2 AA standard. | ||
This test of a representative sample of pages was carried out by the ", | ||
external_link( | ||
href = "https://digitalaccessibilitycentre.org/", | ||
"Digital accessibility centre (DAC)" | ||
), | ||
"." | ||
), | ||
tags$p("We also used findings from our own testing when preparing this accessibility statement.") | ||
) | ||
) | ||
) | ||
) | ||
} |
Oops, something went wrong.