-
Notifications
You must be signed in to change notification settings - Fork 131
Skiplink target #722
Copy link
Copy link
Closed
Labels
code improvementsAny changes that improve but do not alter the appearance of the siteAny changes that improve but do not alter the appearance of the sitejavascriptPull requests that update Javascript codePull requests that update Javascript codeskip link
Metadata
Metadata
Assignees
Labels
code improvementsAny changes that improve but do not alter the appearance of the siteAny changes that improve but do not alter the appearance of the sitejavascriptPull requests that update Javascript codePull requests that update Javascript codeskip link
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done - 2025
Hi,
I'm working on something using the NHS React Components (https://github.com/NHSDigital/nhsuk-react-components) which is based on this repo's work.
Their skip link implementation includes the fix for the iOS VoiceOver bug. I have found that screen readers (NVDA and Chrome's. I don't have iOS access) will quite randomly decide whether or not to read just the header or the content under the header as well. If I changed it to focus on the element of the
hrefprop it always reads the content.Could someone give me some more details on how the bug fix works? Is it necessary to use the
h1or would it also work to manually focus on main content element? Essentially can we get the functionality of a normal skip link to the main content, without invoking the bug?Thanks.