-
Notifications
You must be signed in to change notification settings - Fork 36
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
"Skip to content" link component #2151
Comments
I have created this ticket with some of the basic information I thought it would be useful to start with. To be updated by a designer once the design process begins. Just a few things which I think are worth considering when this is being designed:
|
Designer needs this in Figma first |
26 tasks
26 tasks
Do not release until guidance is in |
Test on our v3 site |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
A "skip to content" link provides the user with a method to gain direct access to the primary content on a page, bypassing content which is repeated across multiple pages, such as the website's navigation links.
💬 Description
One example of this kind of functionality is the one which is currently on the ICDS website, which becomes visible when focussed. The user can tab to this link and press Enter, and their focus will be moved to the main content on the page.
This ticket is to create a new ICDS component for this kind of link.
The aim with this component is to enable developers to cater for the WCAG success criterion 2.4.1 in their apps. The "skip to content" link technique is a solution to this requirement which is recommended by W3C.
💰 User value
"Skip to content" links allow users who navigate sequentially through web pages (such as a screen reader user or someone who is navigating using the keyboard) to access the main content on a page more quickly and easily.
Providing this as a new component will help to encourage and facilitate developers to implement this kind of functionality in their apps and therefore help with the accessibility of these apps.
📚 User Stories
As a user who navigates using a keyboard or screen reader
I need a way to access the main content on a page quickly and easily
So that I can start to utilise the app's functionality sooner, such as finding information I am looking for.
📝 Acceptance Criteria
Given that I move my focus to the "skip to content" link
When I press Enter
Then my focus moves to the link's target element.
Given that I move my focus to the "skip to content" link
And I have a screen reader enabled
When I press Enter
Then the screen reader's virtual cursor moves to the link's target element.
✏ Designs
...
🧾 Guidance
...
Additional info
It might be useful to look at the solution for mi6/ic-design-system#616 to help with the virtual cursor behaviour.
The text was updated successfully, but these errors were encountered: