react-native-web
react-native-web copied to clipboard
`accessibilityRole="search"` should map to element `<search>`
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the issue
accessibilityRole="search"
and role="search"
should both map to HTML element <search>
. Since this element has ARIA role search
by default.
Expected behavior
It should be <search role=search>
on the web
Steps to reproduce
- Create a View component
- Add
accesibilityRole="search"
orrole=search
prop to this View
Test case
https://codesandbox.io/s/gallant-agnesi-4gnr7v?file=/src/App.js
Additional comments
No response