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

[a11y]: label-has-for vuejs-accessibility - address cases where this eslint rule is disabled in arpa_reporter #3893

Open
lsr-explore opened this issue Jan 19, 2025 · 0 comments

Comments

@lsr-explore
Copy link
Contributor

lsr-explore commented Jan 19, 2025

Why is this issue important?

If a label is not associated with a form control, a screen reader user may not know what to enter into the control.

vuejs-accessibility displayed errors in some cases where elements did not wrap the element it was labelling. These rules were disabled.

vuejs-accessibility documentation for label-has-for

W3C Labelling Controls.

Current State

Rules are disabled in the code

Steps to reproduce to identify cases where this rule was disabled.

  1. Search for "vuejs-accessibility/label-has-for" in the code

Cases
arpa_reporter

  • components/StandardForm.vue
  • views/UploadsView.vue. (two cases)

views

  • ArpaAnnulaPerformanceReporterView.vue
  • LoginView.vue
    Image

Expected State

No rules should be disabled in the code.

Implementation Plan

Next Steps

Relevant Code Snippets

@lsr-explore lsr-explore changed the title [a11y]: address vuejs-accessibility/label-has-for disabled rules (5 cases) [a11y]: label-has-for vuejs-accessibility - address cases where this eslint rule is disabled in arpa_reporter Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant