Soundor 0.5.0
Release notes for Soundor 0.5.0.
1 change — 1 breaking change
Minor Changes
-
#81
4f6615bThanks @dm-balakin! - Breaking:pressable()'s andPressable'sonPressandonLongPressmay now receive anAccessibilityActionEvent(assistive technology'sactivateandlongpress) besides pointer and keyboard events.Accessibility semantics owned by Soundor. Components take React Native's accessibility props (
accessible,accessibilityLabel,accessibilityHint,accessibilityRole— includingdialog—accessibilityState,accessibilityValuewith fractional values,accessibilityActions,onAccessibilityAction).Pressableis a button by default, labelled by its text, offeringactivateand reflectingdisabled;Modalis a modal dialog (accessibilityLabel), and overlays opened from inside an overlay belong to it.soundor:uinodes gainaccessibility,accessibilityParentand theaccessibilityactionevent (AccessibilityActionEvent). The JUCE runtime's native core builds a platform-neutral semantic tree from the view (a11y::SurfaceSemantics: stable ids, incremental updates, modal scoping, implicit labels, safe action routing) for platform adapters to present; the web runtime checks the same properties.Packages:
@soundor/core,@soundor/react.