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

refactor: 💡 rename arialabel to aria-labelledby for key/value #2633

Conversation

cameronperera
Copy link
Collaborator

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15701

Description

I noticed this slight naming issue while investigating one of our a11y audit issues. The main issue of no aria-label has already been taking care of but the naming of the attributes was a little off. I updated it to say aria-labelledby to reduce confusion on what is actually be used when rendering new inputs for the key/value component.

Screenshots (if appropriate)

How to Test

Checklist

  • I have added before and after screenshots for UI changes
  • I have added JSON response output for API changes
  • I have added steps to reproduce and test for bug fixes in the description
  • I have commented on my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@cameronperera cameronperera self-assigned this Dec 17, 2024
@cameronperera cameronperera requested a review from a team as a code owner December 17, 2024 17:54
Copy link

vercel bot commented Dec 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
boundary-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 7:35pm
boundary-ui-desktop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 7:35pm

Copy link
Collaborator

@lisbet-alvarez lisbet-alvarez left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning this up!

@cameronperera cameronperera merged commit 5be4868 into main Dec 17, 2024
12 checks passed
@cameronperera cameronperera deleted the ICU-15701-boundary-enterprise-a-11-y-audit-input-elements-missing-accname branch December 17, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants