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

[compact-interactive-list] Examples updated to remove redundant button announcement. #2107

Merged

Conversation

adoroshk
Copy link
Contributor

@adoroshk adoroshk commented Mar 27, 2024

Updated terra-compact-interactive-list examples to remove the word "button" from terra-button text, which was leading to the word "button" to be announced twice.

Previously Featured buttons (represented by star icon in examples), had text that would read "Featured button". That text would be announced by assistive technologies, followed by the second "button" word, to indicate that it was a button element. The text was replaced to read "Favorite Item", hence the full announcement changed to be "Favorite Item Button".

Testing

This change was tested using:

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

To test with JAWS, in Compact Interactive List examples tab to the compact interactive list, then using arrow keys navigate to the star icon:

Screenshot 2024-03-27 at 5 32 31 PM

The announcement should be "Favorite Item Button", not "Featured Button Button".

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

This PR resolves:
UXPLATFORM-10261

@adoroshk adoroshk self-assigned this Mar 27, 2024
@github-actions github-actions bot temporarily deployed to preview-pr-2107 March 27, 2024 21:24 Destroyed
@adoroshk adoroshk requested a review from a team March 28, 2024 12:32
@github-actions github-actions bot temporarily deployed to preview-pr-2107 March 29, 2024 05:13 Destroyed
@saket2403 saket2403 merged commit 7a18e38 into main Mar 29, 2024
22 checks passed
@saket2403 saket2403 deleted the compact-interactive-list-fix-redundant-button-announcement branch March 29, 2024 05:35
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.

4 participants