Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing expanded aria menu #3717

Merged
merged 2 commits into from
Nov 29, 2023
Merged

Conversation

StackedPancakez
Copy link
Contributor

@StackedPancakez StackedPancakez commented Nov 28, 2023

Trello card

5243

Context

The accessibility audit showed that these expandable components did not have the correct aria attributes available. These needed to be added and values updated accordingly with user action.

Changes proposed in this pull request

Add the role, aria-expanded and aria-controls attributes to the relevant html elements, and include logic to adjust accordingly.

Guidance to review

In the review app ensure html attributes are present and changing as expected in the DOM when each of the toggle elements are clicked by the user.

@github-actions github-actions bot added the ruby Pull requests that update Ruby code label Nov 28, 2023
Copy link

@github-actions github-actions bot added the Review_v2 Create AKS review app label Nov 28, 2023
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug B 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

96.2% 96.2% Coverage
0.2% 0.2% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

Copy link
Contributor

@gemmadallmandfe gemmadallmandfe left a comment

Choose a reason for hiding this comment

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

Tested successfully using VoiceOver on iPhone- happy for this to be merged

Copy link
Contributor

@martyn-w martyn-w left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@StackedPancakez StackedPancakez merged commit 0196e77 into master Nov 29, 2023
22 of 23 checks passed
@StackedPancakez StackedPancakez deleted the missing-expanded-aria-menu branch November 29, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review_v2 Create AKS review app ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants