SteffeyDev / react-native-popover-view

A well-tested, adaptable, lightweight <Popover> component for react-native
MIT License
613 stars 92 forks source link

Popover is not accessible #174

Open BhargaviAnnadevara opened 7 months ago

BhargaviAnnadevara commented 7 months ago

Describe the bug Popover is not accessible - https://github.com/SteffeyDev/react-native-popover-view/issues/171

Is your feature request related to a problem? Please describe. It should follow accessibility rules, as it can be used in a react-native-web project.

Describe the solution you'd like It should follow https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tooltip_role.

It could be fixed by at including View props as role, aria-label etc, that are passed to the container.

BhargaviAnnadevara commented 7 months ago

@aniketbiswas FYI for reference/tracking.

AdamGerthel commented 1 month ago

Could you clarify exactly which changes you are proposing? To my knowledge, aria isn't used in React Native. accessibility-role (see https://github.com/SteffeyDev/react-native-popover-view/pull/179) ought to be easy to add, but there's "tooltip" role available there.