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

SC 131 -- Heading missing proper markup (declined t&c) #22

Open
damiansian opened this issue Jan 4, 2025 · 0 comments
Open

SC 131 -- Heading missing proper markup (declined t&c) #22

damiansian opened this issue Jan 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@damiansian
Copy link

damiansian commented Jan 4, 2025

URL

https://demo.fileyourstatetaxes.org/en/questions/declined-terms-and-conditions

Issue

The bolded text Is this a mistake? that acts as a heading, must have the markup of a heading. Currently it is just bolded via the strong element. The strong element has no voicing by a screen reader (i.e., there is no semantic communication the text is bold).

Also:
https://demo.fileyourstatetaxes.org/en/questions/initiate-data-transfer
How do I know if it’s accepted?

Note

You may style the h2 however you'd like, but it must be a heading as it's serving the purpose and function of a heading.

WCAG

SC 1.3.1: Info and Relationships (Level A)

User impact

Non-sighted people that rely on screen readers to navigate webpages, use headings as navigation aids and to build a mental model of the page. Headings group and organize content. In this case, the link is directly related to the text "Is this a mistake?" and therefore, should have the programmatic markup to create that association.

Suggested fix

Current

<strong>Is this a mistake?</strong>

<strong>How do I know if it’s accepted?</strong>

Should be

<h2>Is this a mistake?</h2>

<h2>How do I know if it’s accepted?</h2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant