Soundor
Soundor

Soundor 0.20.0

Release notes for Soundor 0.20.0.

All Soundor releases

6 changes — 4 features, 2 fixes

Minor Changes

  • #373 2c5b9a4 Thanks @dm-balakin! - Add listbox and option accessibility roles across the native, web, and test runtimes. Use accessibilityState.selected to identify the chosen option and disabled for unavailable options.

    Packages: @soundor/environment, @soundor/test-runtime.

  • #372 9ee70c5 Thanks @dm-balakin! - Honor accessibilityState.disabled for pointer activation, wheel, keyboard and focus across runtimes. Disabled subtrees still receive hover, but lose focus and cancel active presses. Use accessibilityState.readOnly to describe a read-only value without blocking input such as a “Copy value” context menu.

    Packages: @soundor/environment, @soundor/react, @soundor/test-runtime, @soundor/testing-library.

  • #374 453d4fe Thanks @dm-balakin! - Add KeyboardEvent.code, the physical key (KeyS, Digit1), in every runtime, so shortcuts such as Option+S on macOS or Shift+1 match whatever the key types. Natively it comes from the scan code, virtual key code or X11 keycode; Soundor Driver's keys and user.keyboard have the US key that types them.

    Add accessibilityKeyShortcuts (accessibility.keyShortcuts), the shortcuts that act on an element as aria-keyshortcuts writes them: aria-keyshortcuts on the web, UI Automation's AcceleratorKey, AT-SPI's keyshortcuts attribute, and the help text on macOS and iOS.

    Add announce(message, { priority }) to soundor:ui, for a screen reader to speak what an action did: an ARIA live region on the web, UI Automation notification events, AT-SPI object:announcement, and AppKit's and UIKit's announcement notifications. testView.announcements() lists them in tests.

    Packages: @soundor/environment, @soundor/react, @soundor/test-runtime, @soundor/testing-library.

  • #371 d220926 Thanks @dm-balakin! - Add stateful wheel, pen, multi-touch, and screen-reader actions to Testing Library. Wheel input uses held modifiers and honors scroll defaults; each pointer has its own capture; screen-reader actions check which actions the semantic element offers.

    Packages: @soundor/test-runtime, @soundor/testing-library.

Patch Changes

  • #363 885400d Thanks @dm-balakin! - Point the README's SVG link at the renamed Primitives docs.

    Packages: @soundor/react.

  • #370 1419666 Thanks @dm-balakin! - Match the engine's mouse-button chording in the test runtime and Testing Library: fire pointermove with the changed button and updated button mask between the first press and last release, without changing focus or opening a context menu.

    Packages: @soundor/test-runtime.

On this page