Should accessible
be supported in React Strict DOM?
#267
Replies: 1 comment 1 reply
-
React Strict DOM has the explicit goal of matching the web/DOM APIs where possible and bringing those to React Native. This is also the direction that React Native itself is taking in the long run. So, Instead, it should be an implementation detail. The web way to do something similar is to use the The question here is to understand when else it should be applied. What other Some things that come to mind:
|
Beta Was this translation helpful? Give feedback.
-
Describe the feature request
React Native uses the
accessible
prop to group child elements into a single selectable component (docs). Since React Strict DOM is meant to work across React and React Native, should this prop be supported?I looked through the source code and saw that
accessible
is defined inrenderer.native.js
, but it’s never actually set. Was this an intentional omission, or something that could be added?Curious to hear your thoughts.
Beta Was this translation helpful? Give feedback.
All reactions