Skip to content
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

Methodology Page: Screen reader focus doesn't land on the intended heading. #650

Open
marvieqa opened this issue May 26, 2024 · 0 comments
Labels
A11y Accessibility

Comments

@marvieqa
Copy link
Collaborator

Description

The "Learn more" links from the Filter UI point to span IDs in the Methodology page, where upon navigating to it, the topic is framed beautifully in view. However, when using a screen reader this gets confusing. Here's an example:

Get Access "Learn More link" points to /methodology/#access-method

screenshot Screenshot 2024-05-26 at 23 08 31

In Methodology page, this ID is pointing in this <span>, I believe because we wanted the "How did we determine “priority”?" heading to be centered in view:

Screenshot Screenshot 2024-05-26 at 23 12 35

However, this is putting the screen reader focus on the paragraph above the intended heading, thus screen reader announces this first.
A screen reader user may get thrown off when this paragraph is announced without a title or context, because coming from the Filter UI link we tell them this link goes to Methodology - Priority Level. The expectation would be that it announces the heading for Priority Level topic.

Recommendation

  • Put the span before the heading (or put the ID on the heading itself and test if it works), even if it means the heading will not be beautifully centered in view, so that screen reader announces the heading right away.
@marvieqa marvieqa added the A11y Accessibility label May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11y Accessibility
Projects
Status: No status
Development

No branches or pull requests

1 participant