Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow to customize the aria-label attribute of the results container #94

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

Merged
merged 2 commits into from
Apr 21, 2023
Merged

Allow to customize the aria-label attribute of the results container #94

merged 2 commits into from
Apr 21, 2023

Conversation

brunoprietog
Copy link
Contributor

Currently it is not allowed to customize the aria-label attribute of the results container, since the constructor does not check if an aria-label exists before setting the generic aria-label.

Even if it is appropriate to set "results" in all cases, this prevents translating the labels to other languages.

@brunoprietog brunoprietog requested a review from a team as a code owner September 28, 2022 08:46
@primer-css
Copy link

👋 Hello and thanks for pinging us! This issue or PR has been added to our inbox and a Design Infrastructure first responder will review it soon.

  • 🎨 If this is a PR that includes a visual change, please make sure to add screenshots in the description or deploy this code to a lab machine with instructions for how to test.
  • If this is a PR that includes changes to an interaction, please include a video recording in the description.
  • ⚠️ If this is urgent, please visit us in #primer on Slack and tag the first responders listed in the channel topic.

Copy link
Contributor

@siddharthkp siddharthkp left a comment

Choose a reason for hiding this comment

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

Good catch!

👍 from primer-reviewers

@brunoprietog
Copy link
Contributor Author

Hi, what is missing so that this can be merged? Thanks!

@keithamus keithamus merged commit 9fbf2e6 into github:main Apr 21, 2023
@brunoprietog brunoprietog deleted the custom-results-aria-label branch April 21, 2023 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants