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

`accessibilityRole="search"` should map to element `<search>`

Open YummyBacon5 opened this issue 1 year ago • 0 comments

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

  1. Create a View component
  2. Add accesibilityRole="search" or role=search prop to this View

Test case

https://codesandbox.io/s/gallant-agnesi-4gnr7v?file=/src/App.js

Additional comments

No response

YummyBacon5 avatar Nov 17 '23 12:11 YummyBacon5