Accessibility improvements and breaking changes to unstable APIs.
Breaking changes
- Remove special treatment of elements with
accessibilityRole="menuitem"
. It no longer adds elements to the tab flow. - Remove anchor element inference from
View
andText
withaccessibilityRole="link"
. Only requires addition ofhref
prop. - Remove
unstable_createElement
element-type inference usinghref
. Fixes use with svg elements. - Remove
unstable_createElement
keyboard shim foronClick
. It no longer invokesonClick
duringonKeyDown
for keyboard interactions on elements that are not natively interactive.
Fixes
- Fix
Pressable
support for keyboard interactions if element is unmounted during interaction. - Remove unnecessary CSS reset for input number spin buttons.
- Fix
ProgressBar
&Switch
rendering in Windows High Contrast mode Text
preserves white-space ifnumberOfLines={1}
.