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

iOS: Breaks accessibility #659

Open
jgillick opened this issue Jan 3, 2024 · 0 comments
Open

iOS: Breaks accessibility #659

jgillick opened this issue Jan 3, 2024 · 0 comments

Comments

@jgillick
Copy link

jgillick commented Jan 3, 2024

I'm having accessibility issues with this component. When using the Accessibility Inspector, it does not read the content of MenuView and only reads that there is a button there. In my case, it list the text "Hello" as the label and an indicator that a long-press action is enabled.

Screenshot 2024-01-03 at 1 45 57 PM

When using the voice over navigation buttons it skips over the text.

You can see in the node hierarchy (as voice over sees it), the nodes end at the MenuView:

Screenshot 2024-01-03 at 1 46 42 PM

This is the JSX that I've implemented:

<MenuView
  onPressAction={onLongPress}
  actions={longPressActions}
  shouldOpenOnLongPress={true}
  style={baseStyles.container}
>
  <View style={containerStyles} removeClippedSubviews={false} pointerEvents="auto">
    <Text style={baseStyles.text}>{message.content}</Text>
  </View>
</MenuView>
);
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

No branches or pull requests

1 participant