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

[terra-collapsible-menu-view] Removes dialog role for menu and sets aria-haspopup #2127

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

sugan2416
Copy link
Contributor

Summary

What was changed:

  • Sets aria-haspopup to boolean values
  • Removed dialog role terra-menu

Why it was changed:

  • aria-haspopup was set to dialog, changed to boolean.
  • Dialog role causes axe a11y failure being an inappropriate role.

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-10322


Thank you for contributing to Terra.
@cerner/terra

@github-actions github-actions bot temporarily deployed to preview-pr-2127 April 5, 2024 16:04 Destroyed
@sugan2416 sugan2416 self-assigned this Apr 5, 2024
@saket2403 saket2403 merged commit 5511995 into main Apr 17, 2024
22 checks passed
@saket2403 saket2403 deleted the collapsible-menu-a11y-fix branch April 17, 2024 07:42
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