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

fix(emoji-picker): add no result to aria region #13

Merged
merged 3 commits into from
Aug 5, 2024

Conversation

torgeadelin
Copy link

@torgeadelin torgeadelin commented Aug 5, 2024

Description

  • adds no result message to aria live region

Related to

BUG: Emoji - Search - No emoji found is not announced: SPARK-522103
Expected Result: No emoji found in the search results should be announced to the screen reader users,
e.g. No Emoji Found
Actual Result: When the user types in the search, the No emoji found displayed in the search results is not announced to the screen reader users.

HTML: <div class=emoji-mart-no-results><span aria-label=, sleuth_or_spy title=sleuth_or_spy class=emoji-mart-emoji emoji-mart-emoji-native>….</div>
Solution: Use aria-live to announce the information about No Emoji Found in the search result

Copy link
Member

@JanPodmajersky JanPodmajersky left a comment

Choose a reason for hiding this comment

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

Hey @torgeadelin, thank you for the contribution.

Could you please also add an explanation (copy the text from pr description) to commit's body. As PR is just temporary but commits stays forever ;). (You can check other commits in this fork, eg: 6417fbb) Thank you.

- adds no result message to aria live region

BUG:  Emoji - Search - No emoji found is not announced: SPARK-522103
Expected Result: No emoji found in the search results should be announced to the screen reader users,
e.g. No Emoji Found
Actual Result: When the user types in the search, the No emoji found displayed in the search results is not announced to the screen reader users.

HTML: `<div class=emoji-mart-no-results><span aria-label=, sleuth_or_spy title=sleuth_or_spy class=emoji-mart-emoji emoji-mart-emoji-native>….</div>`
Solution: Use aria-live to announce the information about No Emoji Found in the search result
@torgeadelin
Copy link
Author

@JanPodmajersky done! :)

Catalin and others added 2 commits August 5, 2024 16:22
…ition

Co-authored-by: Daniel Macák <34311965+daelmaak@users.noreply.github.com>
Copy link
Collaborator

@daelmaak daelmaak left a comment

Choose a reason for hiding this comment

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

Thank you!

@JanPodmajersky JanPodmajersky merged commit cedd1b6 into slidoapp:main Aug 5, 2024
2 checks passed
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.

3 participants