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

[terra-button] Updated doc for isselected button #3999

Merged
merged 3 commits into from
Dec 19, 2023
Merged

Conversation

sugan2416
Copy link
Collaborator

Summary

What was changed:

Updated doc on aria-pressed for isSelected button

Why it was changed:

Added details regarding aria-pressed limitation in VoiceOver.

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
Screenshot 2023-12-19 at 12 37 57 PM

@sugan2416 sugan2416 requested a review from a team as a code owner December 19, 2023 07:36
Comment on lines 26 to 29
### Assistive Technology Support
#### WAI ARIA Roles and States
* [aria-pressed](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed)
* With Safari and Chrome, VoiceOver screenreader is partially compatible with aria-pressed. When aria-pressed is set to true, VoiceOver announces the selection state; when aria-pressed is set to false, it fails to announce the de-selection state.
Copy link
Contributor

@supreethmr supreethmr Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move this section below props table for consistency

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions github-actions bot temporarily deployed to preview-pr-3999 December 19, 2023 09:58 Destroyed
@saket2403 saket2403 merged commit 143d897 into main Dec 19, 2023
22 checks passed
@saket2403 saket2403 deleted the isselected-doc branch December 19, 2023 11:19
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