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 #3

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

SC 131 -- Heading missing proper markup #3

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

Comments

@damiansian
Copy link

URL

https://demo.fileyourstatetaxes.org/

Issue

The bolded text in the white-group spacing-below-15 spacing-above-35 box 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).

Note

The text "To learn more, check out the FAQs." is NOT creating a grouping of content, and therefore may stay as-is.

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 list is directly related to the text "How does it work?" and therefore, should have the programmatic markup to create that association.

Suggested fix

Current

<div class="white-group spacing-below-15 spacing-above-35">
        <h2>How does it work?</h2>
<ol class="list--numbered">
  <li>File and submit your federal return with <a target="_blank" rel="nofollow noopener" href="https://directfile.irs.gov/">IRS Direct File</a> before using this service.</li>
  <li>Click "continue to file your state taxes"</li>
  <li>Answer a few questions to make sure this is the right service for you. <a target="_blank" rel="nofollow noopener" href="https://directfile.irs.gov/state">Learn more about who is eligible for this tax year</a>.</li>
  <li>Transfer your federal return to fill in most of your state return.</li>
  <li>Answer a few additional questions to help maximize your state tax refund.</li>
  <li>E-file your return for free!</li>
</ol>
<strong>To learn more, check out the <a href="/en/us/faq">FAQs</a>.</strong>

      </div>

Should be

<div class="white-group spacing-below-15 spacing-above-35">
        <strong>How does it work?</strong>
<ol class="list--numbered">
  <li>File and submit your federal return with <a target="_blank" rel="nofollow noopener" href="https://directfile.irs.gov/">IRS Direct File</a> before using this service.</li>
  <li>Click "continue to file your state taxes"</li>
  <li>Answer a few questions to make sure this is the right service for you. <a target="_blank" rel="nofollow noopener" href="https://directfile.irs.gov/state">Learn more about who is eligible for this tax year</a>.</li>
  <li>Transfer your federal return to fill in most of your state return.</li>
  <li>Answer a few additional questions to help maximize your state tax refund.</li>
  <li>E-file your return for free!</li>
</ol>
<strong>To learn more, check out the <a href="/en/us/faq">FAQs</a>.</strong>

      </div>
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