Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-search-field] Fixed a11y error caused due to empty aria label. #4044

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

saket2403
Copy link
Contributor

Summary

What was changed:

Passed default value (Search) to input field as aria label when groupName prop is not used.

Why it was changed:

An empty aria-label was being passed onto the input field here when the groupName prop was not passed. Consumers who are not using the prop faced wdio errors.

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

This PR resolves:

UXPLATFORM-XXXX


Thank you for contributing to Terra.
@cerner/terra

@saket2403 saket2403 self-assigned this Feb 27, 2024
@saket2403 saket2403 requested a review from a team as a code owner February 27, 2024 08:42
@github-actions github-actions bot temporarily deployed to preview-pr-4044 February 27, 2024 08:42 Destroyed
@saket2403 saket2403 merged commit cef693a into main Feb 27, 2024
22 checks passed
@saket2403 saket2403 deleted the search-field-a11y branch February 27, 2024 11:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants