Soundor 0.20.0
Release notes for Soundor 0.20.0.
6 changes — 4 features, 2 fixes
Minor Changes
-
#373
2c5b9a4Thanks @dm-balakin! - Addlistboxandoptionaccessibility roles across the native, web, and test runtimes. UseaccessibilityState.selectedto identify the chosen option anddisabledfor unavailable options.Packages:
@soundor/environment,@soundor/test-runtime. -
#372
9ee70c5Thanks @dm-balakin! - HonoraccessibilityState.disabledfor pointer activation, wheel, keyboard and focus across runtimes. Disabled subtrees still receive hover, but lose focus and cancel active presses. UseaccessibilityState.readOnlyto 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
453d4feThanks @dm-balakin! - AddKeyboardEvent.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 anduser.keyboardhave the US key that types them.Add
accessibilityKeyShortcuts(accessibility.keyShortcuts), the shortcuts that act on an element asaria-keyshortcutswrites them:aria-keyshortcutson the web, UI Automation'sAcceleratorKey, AT-SPI'skeyshortcutsattribute, and the help text on macOS and iOS.Add
announce(message, { priority })tosoundor:ui, for a screen reader to speak what an action did: an ARIA live region on the web, UI Automation notification events, AT-SPIobject: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
d220926Thanks @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
885400dThanks @dm-balakin! - Point the README's SVG link at the renamed Primitives docs.Packages:
@soundor/react. -
#370
1419666Thanks @dm-balakin! - Match the engine's mouse-button chording in the test runtime and Testing Library: firepointermovewith 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.