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:
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
[ ] Determining the scope of impact to VA editors
[ ] Understanding the root cause of issue
[ ] Plan of action of how to resolve the error
Labels
(You can delete this section once it's complete)
[x] Issue type (red) (defaults to "Defect")
[ ] CMS subsystem (green)
[ ] CMS practice area (blue)
[x] CMS workstream (orange) (not needed for bug tickets)
[ ] CMS-supported product (black)
Acceptance Criteria
[ ] Connecting aria-describedby to all fields within Drupal CMS.
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:
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
aria-describedby
to all fields within Drupal CMS.Team
Please check the team(s) that will do this work.
CMS Team
Public Websites
Facilities
User support
Accelerated Publishing