Release 6.2.0-alpha.0
Pre-release
Pre-release
6.2.0-alpha.0 (2021-09-05)
This release is focused on accessibility! Moreover, it empowers model-based custom rendering which can now define props passed to Text
and View
elements of renderers.
Bug Fixes
- a11y: anchors are not accessible anymore when
href
is empty or absent (4e1f2f4)
Features
- a11y: support
aria-label
andaria-role
HTML attributes (2b27f00) - a11y: whatwg-compliant accessibility for images (7fc2907)
- css: support
user-select
CSS property (8442b2f) - a11y: add accessibilityRole="header" to headings elements (h1...h6) (1c79bc3)
- new
reactNativeProps
andgetDynamicReactNativeProps
inHTMLElementModel
, this little change gives model-based custom rendering considerably more leverage. (4ee1646) - deprecate
getUADerivedStyleFromAttributes
in favor ofgetUADynamicMixedStyles
inHTMLElementModel
, which allows access to the underlyingTNode
and again empowers model-based custom rendering.