You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated code in cookieconsent.js results in banner html including elements with tabindex explicitly set to values greater than 0. While technically correct, these often create frustrating experiences for users who rely on assistive technology. The AXE tool flags this as a violation. Tabindex should be omitted from these elements.
The text was updated successfully, but these errors were encountered:
Tabbing should Ideally work in ascending or descending order of elements within a page. However on the better health page, that is not the case. It can be confusing and frustrating for users with dyslexia or those that rely on assistive technology. The reason for this is because there is an invisible “skip to main content” link that is absolutely positioned above the cookie banner. This invisible content is only visible to screen readers or people using assistive technology, but it gets focus when tabbing.
To fix this issue and prevent such from happening on any other nhs.uk pages, I recommend setting tabindex to 0 or explicitly removing it from the buttons and links in the cookie banner.
The generated code in cookieconsent.js results in banner html including elements with tabindex explicitly set to values greater than 0. While technically correct, these often create frustrating experiences for users who rely on assistive technology. The AXE tool flags this as a violation. Tabindex should be omitted from these elements.
The text was updated successfully, but these errors were encountered: