-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/help pages #233
Feature/help pages #233
Conversation
{% block title %} | ||
<title>Accessibility statement - Redbox Copilot - GOV.UK</title> | ||
{% endblock %} | ||
{% set pageTitle = "Accessibility statement" %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old style is the GDS way of doing it, might be worth keeping it that way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. I'm definitely keen to follow existing convention where possible, but the "new" approach offers the following advantages:
- Reduces the risk of a mistake (e.g. missing <title> element)
- It doesn't need to be a block as it's only plain text that changes
- Reduces repetition and therefore makes updating the site name easier
- Reduces the risk of inconsistencies creeping in
It's just a question of whether these advantages are enough to move away from the GDS way. The advantages are only small. What do you reckon?
(if we change back I'll create a ticket, as it'll mean changes on other pages too - still a tiny job though)
<p>This website is run by the Cabinet Office. We want as many people as possible to be able to use this website. For example, that means you should be able to:</p> | ||
<h1 class="govuk-heading-l">Accessibility statement for Redbox Copilot</h1> | ||
|
||
<p class="govuk-body">This accessibility statement applies to Redbox Copilot.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should only have to add govuk-body
to the body
tag in base.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, true, but strangely the spacing was more (too) condensed when it had that. I'll take another look as it'd be tidier to only have it once.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because .govuk-body
has a margin-bottom set on it, this will be missed if it's only used on a container element. That explains why it's needed for the spacing. Though there will be contexts where it'll be okay, I don't believe this is one. There are also styles for heading elements immediately preceeded by .govuk-body
.
Looking on gov.uk there are examples of <p>
elements without govuk-body
. In those cases they have the styles on a custom container class, e.g. .container-class > p
. I believe this is because their hand is forced due to the content coming from a CMS. There's no mention of a container class in the design system docs (from what I can see), and I can't see one looking through the CSS.
<h1 class="govuk-heading-l">Accessibility statement for Redbox Copilot</h1> | ||
|
||
<p class="govuk-body">This accessibility statement applies to Redbox Copilot.</p> | ||
<p class="govuk-body">This website is run by the Cabinet Office. We want as many people as possible to be able to use this website. 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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this first point possible? We might need to remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "change colours" etc. bit? If so, then yes, through user stylesheets and browser settings. There's also things like high contrast mode at OS level. It's one (of several) reasons why web pages are more accessible (out of the box) than PDFs.
</ul> | ||
<p>We'll consider your request and get back to you in 14 days.</p> | ||
|
||
<p class="govuk-body">If you need information on this website in a different format like accessible PDF, large print, easy read, audio recording or braille, email <a href="mailto:[email protected]" class="govuk-link">[email protected]</a></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to use the {{CONTACT_EMAIL}}
env var if we have it in this project to make it easier to update if it changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's a good point. I'll take a look!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added that in now, and added the correct email address to the example .env files
<h2 class="govuk-heading-m">Enforcement procedure</h2> | ||
<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"). If you're not happy with how we respond to your complaint, <a href="https://www.equalityadvisoryservice.com/" class="govuk-link">contact the Equality Advisory and Support Service (EASS)</a>.</p> | ||
<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.equalityadvisoryservice.com/" class="govuk-link">contact the Equality Advisory and Support Service (EASS)</a>.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has the UK withdrawn from EHRC?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea! @Samuel-Hoskin tagging you in incase you know?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Equality and Human Rights Commission is non-departmental body of the UK Government. It is not tired to EU law
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have not withdrawn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Samuel-Hoskin and @lmwilkigov
|
||
<h2 class="govuk-heading-m">Preparation of this accessibility statement</h2> | ||
<p class="govuk-body">This statement was prepared in 27th February 2024. It was last reviewed on 12th April 2024.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in
to on
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
@@ -76,6 +76,24 @@ | |||
<div class="govuk-width-container"> | |||
<div class="govuk-footer__meta"> | |||
<div class="govuk-footer__meta-item govuk-footer__meta-item--grow"> | |||
<h2 class="govuk-visually-hidden">Support links</h2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Side note in this doc, can we update Up to UK OFFICIAL SENSITIVE documents can be used in this tool
to say explicitly whether it includes or doesn't include OS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make a note to check this separately
<p class="govuk-body">We may change this privacy notice. When we make changes to this notice, the "last updated" date at the bottom of this page will also change. Any changes to this privacy notice will apply to you and your data immediately. If these changes affect how your personal data is processed, Cabinet Office will take reasonable steps to make sure you know.</p> | ||
<p class="govuk-body">Last updated: 27th February 2024</p> | ||
<p class="govuk-body">Last updated: 11th April 2024</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure this date changes last thing
<span class="govuk-caption-l">Find out about the One Big Thing website, including how to sign in and use your <SYSTEM_NAME> account.</span> | ||
<br> | ||
|
||
{# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never seen this syntax before and I'm curios, what does it do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{# Anything inside here is a comment #}
Better (in some cases) than <!-- this comment -->
as it won't be rendered as part of the HTML.
I just wanted to keep that as a reference incase we want to put anything similar back in.
|
||
<h2 class="govuk-heading-m">Email address not allowed</h2> | ||
<h2 class="govuk-heading-m">Email address not allowed</h2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a ticket to the backlog to come update this once the auth solution is in place please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, good shout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update contact email address
94cde66
to
426a737
Compare
Context
Updating the Privacy, Accessibility and Support pages to fit in with Redbox Copilot.
Jira ticket: https://technologyprogramme.atlassian.net/jira/software/projects/REDBOX/boards/409?selectedIssue=REDBOX-69
Changes proposed in this pull request
Guidance to review