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: add accessibilityLabel prop to MenuItem #2577

Merged
merged 5 commits into from
Apr 9, 2021

Conversation

ahce
Copy link
Contributor

@ahce ahce commented Mar 2, 2021

Summary

Add accessibilityLabel prop to MenuItem

Test plan

  1. Download this branch
  2. Create Menu
  3. Pass accessibilityLabel to MenuItem

@callstack-bot
Copy link

callstack-bot commented Mar 2, 2021

Hey @ahce, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@@ -41,6 +41,7 @@ type Props = {
* TestID used for testing purposes
*/
testID?: string;
accessibilityLabel?: string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add a description above this prop? Something like:

/**
 * Accessibility label for the Touchable. This is read by the screen reader when the user taps the component.
*/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@lukewalczak lukewalczak merged commit 13b965b into callstack:main Apr 9, 2021
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.

4 participants