react-native-website icon indicating copy to clipboard operation
react-native-website copied to clipboard

Accessibility Role table doesn't work

Open rishabh92 opened this issue 2 years ago • 8 comments

Description

table present in role below: https://github.com/facebook/react-native/blob/b7191cde4e36d3d712affc8b714e7d6179642cbb/packages/react-native/Libraries/Components/View/ViewAccessibility.d.ts#L364

When try to use it, it doesn't work as it's missing in AccessibilityRole: https://github.com/facebook/react-native/blob/b7191cde4e36d3d712affc8b714e7d6179642cbb/packages/react-native/Libraries/Components/View/ViewAccessibility.d.ts#L196

React Native Version

0.71.13

Output of npx react-native info

npx react-native info info Fetching system and libraries information... System: OS: Windows 10 10.0.22621 CPU: (24) x64 12th Gen Intel(R) Core(TM) i9-12900K Memory: 104.26 GB / 127.68 GB Binaries: Node: 14.21.3 - C:\Program Files\nodejs\node.EXE Yarn: Not Found npm: 6.14.18 - C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: Not Found Windows SDK: AllowDevelopmentWithoutDevLicense: Enabled Versions: 10.0.22000.0, 10.0.22621.0 IDEs: Android Studio: Not Found Visual Studio: 17.7.34031.279 (Visual Studio Enterprise 2022) Languages: Java: Not Found npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.13 => 0.71.13 react-native-windows: 0.71.35 => 0.71.35 npmGlobalPackages: react-native: Not Found

Steps to reproduce

<View  accessible={true} role="table">
    <View accessible={true} role="row">
		...
    </View>

    <View accessible={true} role="row">
		...
    </View>

</View>

Snack, screenshot, or link to a repository

N/A

rishabh92 avatar Oct 10 '23 04:10 rishabh92

:warning: Missing Reproducible Example
:information_source: We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

github-actions[bot] avatar Oct 10 '23 04:10 github-actions[bot]

@necolas can we find a way to document the roles and other web prop values that no-op?

NickGerleman avatar Oct 11 '23 10:10 NickGerleman

It's already documented https://reactnative.dev/docs/accessibility#role

necolas avatar Oct 11 '23 15:10 necolas

Closing as answered

necolas avatar Oct 14 '23 15:10 necolas

@necolas I don't see any mention of table or other unsupported roles, can we document those to avoid confusion?

rickhanlonii avatar Jan 06 '24 20:01 rickhanlonii

Feel free to explicitly document unsupported features.

necolas avatar Jan 08 '24 18:01 necolas

Moving to the website issue tracker

cortinico avatar Jan 09 '24 09:01 cortinico

👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 10 '24 01:05 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

github-actions[bot] avatar May 18 '24 01:05 github-actions[bot]