Writing accessible documentation¶
You can build this project’s documentation into a website using Sphinx. If you work in the public sector, and build a website, by law the website must be accessible.
The full name of the accessibility regulations is the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018.
It came into force on 23 September 2018, and all public sector bodies have to meet these requirements unless exempt. GOV.UK has further details to help you understand the impact of the 2018 requirements
We use the following checklist to determine how accessible our documentation is, when rendered as a website using Sphinx.
check the website against the WAVE Web Accessibility Evaluation Tool
check that link text is descriptive
check the hierarchy of page headings, which should go in order from
h2
toh4
with no gapsremove italics, and bold text
only use block capitals inside curly braces for placeholders in code examples
check for accessible language
use
alex.js
to identify insensitive, and inconsiderate writingreplace instances of
click
withselect
orchoose
remove latin phrases (
e.g.
,i.e.
,ad hoc
,via
)aim not to have long sentences (maximum 25 words per sentence)
aim not to have long paragraphs (maximum 5 lines per paragraph)
check for unique titles in documentation
check diagrams and images for alternative text as well as surrounding contextual text
remove diagrams/images that do not add anything to a user’s understanding
remove screenshots if possible
This checklist was created by the Government Digital Service (GDS) technical writing team with help from the GDS accessibility team. We then draft a suitable accessibility statement for the project; an example is available on GOV.UK.