Skip to content

The whole Blitz stack here: the click action, the winit backends, and the iOS example - #3

Merged
adammharris merged 5 commits into
leaffrom
unit
Oct 20, 2026
Merged

adammharris merged 5 commits into
leaffrom
unit

Conversation

@adammharris

Copy link
Copy Markdown
Member

#2 merged into unit rather than leaf. It was stacked on #1, and GitHub didn't retarget it when #1 merged. This brings the same commits into leaf. See #2 for what they do and how they were verified.

leaf's Mac app and flower's Dioxus app take winit-appkit from this branch: flower's main already does (diaryx-org/flower#3), and leaf's will once this lands.

adammharris and others added 5 commits October 20, 2026 14:14
blitz-shell left an AccessKit action request undone. A click (VoiceOver's
activate, an agent's AXPress) is now carried out as a hand would: the
pointer moved to the middle of the node's box, inside the safe area,
pressed and released there, through the window's own events, so the node
acts on it exactly as on a real click.

View::click_events gives those events for any node, and
View::accessibility_action_events for an action request, for an embedder
that runs its own event loop and feeds window events through its own
handling (leaf's Mac app, which did this itself in access.rs).
BlitzApplication carries them out itself.

Behavioural-change: an AccessKit click request on a node now clicks it; before it was ignored.
winit-appkit and winit-uikit 0.31.0-beta.3, the backends dioxus-native
pins, patched (each PATCH.md says how and why), move here from
diaryx-org/leaf's patches/. They are pinned by the blitz-shell this branch
carries and move when it does, so a consumer takes its whole Blitz stack,
winit included, from one repository and one branch. Their history stays
in leaf; each PATCH.md says where.

They are outside this workspace, taken by consumers through
[patch.crates-io].
examples/ios-a11y is leaf's spikes/blitz-ios-a11y, moved here beside the
Blitz and the winit-uikit it tests, and taking both by path from this
checkout. It carries out a click asked for with View::click_events rather
than its own copy of it.

Run on an iPhone 17 simulator, iOS 27: XCUITest finds the button by its
label and frame and taps it, and accessibilityActivate (VoiceOver's double
tap) presses it through click_events, inside the safe area: "Pressed 2
times".
The whole Blitz stack here: the click action, the winit backends, and the iOS example
@adammharris
adammharris merged commit d78620c into leaf Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant