department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
99 stars 69 forks source link

Error connection to its input #17572

Open srancour opened 7 months ago

srancour commented 7 months ago

User Stories / Problem Statement

As a drupal editor using a screen reader, I need to understand why the field is erroring so that I can correct the error and publish the content.

Describe the defect

Somewhere along the way the aria-describedby connection to fields and their error states was removed. aria-describedby needs to be set on fields to programmatically connect the field and the error so screen readers can understand what the error is that's on the field when they land on them.

To Reproduce

Steps to reproduce the behavior:

  1. Inspect code for any input field to see there is only an aria-describedby set for the description below the label.

Additional context

This is an issue that seems to have appeared without anyone noticing and no idea how long it has been in the codebase.

Discovery Steps

Labels

(You can delete this section once it's complete)

Acceptance Criteria

Team

Please check the team(s) that will do this work.

gracekretschmer-metrostar commented 7 months ago

When Jake comes onboard, assign this task to dig into understanding the root cause of this issue.

gracekretschmer-metrostar commented 7 months ago

Tagging @ttran-Therisa for awareness.