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

Accessibility: Axe issues triggered by <label> role in Va-Checkbox component #3515

Open
2 of 6 tasks
harshil1793 opened this issue Nov 12, 2024 · 0 comments
Open
2 of 6 tasks
Labels
bug Something isn't working platform-design-system-team

Comments

@harshil1793
Copy link
Contributor

harshil1793 commented Nov 12, 2024

Bug Report

  • I’ve searched for any related issues and avoided creating a duplicate issue.

What happened

Axe accessibility checks are flagging issues related to the role assigned to a tag within the Va-Checkbox component. These issues might indicate potential accessibility violations.

https://github.com/department-of-veterans-affairs/component-library/blob/81958d75023c8d4fc43491355bdb0245c02d334e/packages/web-components/src/components/va-checkbox/va-checkbox.tsx#L239

Slack support request: https://dsva.slack.com/archives/CBU0KDSB1/p1731019140980939

What I expected to happen

The Va-Checkbox component should pass all Axe accessibility checks without errors, ensuring proper roles and attributes are assigned to the tag for compliance with accessibility standards.

Reproducing

  • Formation version:
  • Device: (e.g. iPhone 8, Macbook)
  • Browser: (e.g. Firefox, IE 11)

Steps to reproduce:

  1. Go to the staging form.
  2. Fill out the form until you reach the mailing address screen.
  3. The checkbox on this screen is causing an issue.

Urgency

How urgent is this request? Please select the appropriate option below and/or provide details

  • This bug is blocking work currently in progress
  • This bug is affecting work currently in progress but we have a workaround
  • This bug is blocking work planned within the next few sprints
  • This bug is not blocking any work
  • Other

Details

@harshil1793 harshil1793 added bug Something isn't working platform-design-system-team labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform-design-system-team
Projects
None yet
Development

No branches or pull requests

1 participant