-
Notifications
You must be signed in to change notification settings - Fork 236
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
Publish Exit this Page component #1755
Comments
Proposed solutions (Feb 10)As of February 10th, we have a fairly functional on-screen hide this page component for sighted users. It sits fixed at the bottom of the page on mobile and at the top-right of the page on desktop. It is styled as a warning button, complete with a red background. The final decision for the on-screen functionality is the placement of the component, relative to the page body and header. Our proposed solution as of Feb 10th:Split the component into two portions: a screen reader element and an on-screen element. The screen reader element would be styled and built similar to a skip link. Proposed specifications:
The on-screen element would be styled the same as we’ve previously proposed, but could now feasibly be positioned anywhere in the page’s HTML Proposed specifications: It could be positioned vertically to be in-line with the page title initially, and then become fixed at the top of the viewport once the page is scrolled past the title (more testing needed). We will also be exploring a keyboard shortcut for desktop users, specifically keyboard navigation and screen reader users, to potentially minimise time needed to reach the button. This will require research and testing as we need to consider users with motor issues, different keyboards across multiple locales and existing keyboard shortcuts we could be interfering with. This proposal will require further investigation. It would help us to create a tailored experience for people navigating visually and people navigating via screen reader or keyboard. |
What thoughts have been given to a discrete way to activate the button using voice only? |
Hey @jbuller Thanks for the prompt. This is an important group to consider. We discussed this scenario briefly during the kick off phase of this work, however we have yet to come across a satisfactorily useful solution for users navigating via voice control. Since we don’t have a suitable solution at the moment, we don’t have anything for it in the above update. It's worth noting that voice control users (in this case using Dragon Naturally Speaking as our stand-in tech) have a number of ways to access the button other than saying "click hide this page" out loud:
We're conscious that the above aren't the best or most efficient experience. We are open to ideas and suggestions at this stage, if you or anyone else has experience in developing discreet commands for voice control navigation. |
WIP govuk frontend branch: https://github.com/alphagov/govuk-frontend/tree/hide-this-page-component WIP design system branch: https://github.com/alphagov/govuk-design-system/tree/hide-this-page-component |
All those voice commands either take quite a bit of time or require saying "Hide" out loud. Nevertheless whatever you publish now will be a great step forward and of course further development can then be done. |
Chatted with the designer who worked on a hide this page component for Women's Aid. It was a long time ago and they were only partly on the project so couldn't remember loads, but a couple of interesting bits:
A very fair point, though I don't think this amounts to anything like an argument against showing the button on mobile.
Which sounds very similar to what we're proposing! |
Hide this page component proposal - 14/03/2022The current proposal is pending the gathering of existing research from contributors as well as a round of usability and accessibility user testing. You can see a current draft implementation of the component here (from #2079). Current guidance planWe're gonna request that teams set up 2 buttons on the page, one as a hidden "skip link" variant underneath the actual skip link on the page and one one the page itself, positioned under the The reason we've got 2 is for keyboard and screen reader users so they can more easily reach a button from anywhere in the markup they are. The guidance is so that we're communicating to the user that the button is on the page and how it works without making the button obvious to observers, an indication of the trade off between observer and user visibility (figurative term) which has been central to the development of this component. Current component flow for users
Outliers
|
Shipped on 6 July 2023. Next epic #2950 |
What
Hide this page component (aka Exit this Page) was contributed to the Design System in 2020.
alphagov/govuk-design-system-backlog#213
Why
This component and pattern can be used by service to help users in exit a service quickly when in risky situations.
Epic lead(s)
Katrina & Ciandelle
Who needs to work on this
Designers, Developers, Content Designer, Technical Writer, Accessibility Specialist, Delivery Manager, Product Manager, Exit this Page steering group, Design System working group, GDS Comms team, Home Office Domestic Abuse team / GOV.UK content team
Associated stories
Scoping
Tasks
Research and assurance
Tasks
Development
Tasks
Guidance
Tasks
Comms
Tasks
Shipping
Tasks
Next
The text was updated successfully, but these errors were encountered: