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 332 -- Improperly implemented fieldset legend #27

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

SC 332 -- Improperly implemented fieldset legend #27

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

Comments

@damiansian
Copy link

damiansian commented Jan 5, 2025

URL

https://demo.fileyourstatetaxes.org/en/questions/w2/1488/edit

Issue

The fieldset is not applied correctly to box 14 fields. Two of the fields are outside the fieldset so the grouping semantics is lost on those items. In addition, the dollar sign added with CSS is using table semantics which gets read aloud by a screen reader (NVDA on Chrome).

Note

I would recommend creating a visual representation of the fieldset in this usage. Visually, it's difficult to understand the three fields are related.

Screen shot

Image

Video walkthrough

income_review.mp4

WCAG Success Criterion

SC 3.3.2: Labels or Instructions (Level A)

Impacted users

Screen reader users rely on labels and instructions to understand how to fill out form elements properly.

Suggested fix

I recommend the following:

  • Correctly place the three fields in the fieldset.
  • Change how the dollar sign is added to the field.
  • Add a visual to indicate the three fields are related.
  • Adjust contrast of the placeholder text.

You can reference these solutions on CodePen:
https://codepen.io/dsian108/pen/GgKOwmd?editors=1000

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
Status: Ticket created
Development

No branches or pull requests

1 participant