mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-24 23:25:40 +00:00
[change] Remove special treatment of accessibilityRole="menuitem"
This role is not meant to be in the tab flow unless the element type demands it. Users will now have to manage `onClick` and `onKeyDown` callbacks to apply the desired interaction behavior. Fix #1968
This commit is contained in:
@@ -84,7 +84,7 @@ Equivalent to [HTMLElement.readonly](https://developer.mozilla.org/en-US/docs/We
|
||||
{% endcall %}
|
||||
|
||||
{% call macro.prop('keyboardType', '?string') %}
|
||||
Hints at the type of data that might be entered by the user while editing the element or its contents. Equivalent to [HTMLElement.inputMode](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode). Safari iOS requires an ancestral <form action> element to display the search keyboard. (Not available when multiline is true.)
|
||||
Hints at the type of data that might be entered by the user while editing the element or its contents. Equivalent to [HTMLElement.inputMode](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode). Safari iOS requires an ancestral `<form action>` element to display the search keyboard. (Not available when multiline is true.)
|
||||
{% endcall %}
|
||||
|
||||
{% call macro.prop('lang', '?string') %}
|
||||
|
||||
Reference in New Issue
Block a user