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

feat(a11y): Add accessibility label on popover #216

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

gkartalis
Copy link
Member

@gkartalis gkartalis commented Apr 18, 2024

This PR resolves []

Description

Adds a11y label to the dismiss popover icon.

Reasoning: need to be able to select the dismiss icon on e2e tests

@gkartalis gkartalis self-assigned this Apr 18, 2024
@artsy-peril artsy-peril bot added the Version: Minor A deploy for new features label Apr 18, 2024
@@ -58,7 +58,7 @@ export const Popover = ({
<Flex flexDirection="row" justifyContent="space-between" alignItems="center">
{title ? title : <Flex />}
{!noCloseIcon && (
<Touchable onPress={onDismiss}>
<Touchable onPress={onDismiss} accessibilityRole="button" aria-label="Dismiss popover">
Copy link
Member Author

Choose a reason for hiding this comment

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

this is the change, the rest were formatted by the linter

@gkartalis gkartalis merged commit 7e76d55 into main Apr 18, 2024
6 checks passed
@gkartalis gkartalis deleted the gkartalis/a11y-lbl-popover branch April 18, 2024 11:27
@artsyit
Copy link
Collaborator

artsyit commented Apr 18, 2024

🚀 PR was released in v13.1.30 🚀

@artsyit artsyit added the released This issue/pull request has been released. label Apr 18, 2024
Copy link
Contributor

@araujobarret araujobarret 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 adding it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released. Version: Minor A deploy for new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants