Soundor
Web Runtime

Web Runtime 0.3.0 Contains breaking changes

Release notes for Web Runtime 0.3.0.

All Web Runtime releases

2 changes — 1 feature, 1 breaking change

Minor Changes

  • #81 4f6615b Thanks @dm-balakin! - Breaking: pressable()'s and Pressable's onPress and onLongPress may now receive an AccessibilityActionEvent (assistive technology's activate and longpress) besides pointer and keyboard events.

    Accessibility semantics owned by Soundor. Components take React Native's accessibility props (accessible, accessibilityLabel, accessibilityHint, accessibilityRole — including dialog — accessibilityState, accessibilityValue with fractional values, accessibilityActions, onAccessibilityAction). Pressable is a button by default, labelled by its text, offering activate and reflecting disabled; Modal is a modal dialog (accessibilityLabel), and overlays opened from inside an overlay belong to it.

    soundor:ui nodes gain accessibility, accessibilityParent and the accessibilityaction event (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.

  • #83 4d0f1d4 Thanks @dm-balakin! - Soundor's accessibility semantics as ARIA in the browser, on the elements that already draw the nodes. Roles, labels (explicit, or the text inside a button-like element), hints, states and range values become ARIA attributes; text inputs and images keep their native semantics. A modal is an aria-modal dialog with everything outside it aria-hidden, nested modals supersede each other, and a portal opened from a modal is owned by it (aria-owns). A screen reader's activation (a click with no pointer) presses a Pressable once, through the activate accessibility action.

On this page