Repository navigation
Core: NodeHandle::live, a node's live-region politeness - #369
Merged
Merged
Conversation
A notification stack (#347), a spinner (#348) and status lines all need assistive technology to announce changes to a region. Without a core method each widget reaches into accesskit on its own, so the node gets live(Live), the aria-live of the web, built as expanded() is: a draw closure that sets the flag on the node's accesskit builder. Part of #347. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PWiKKe8zfqGfVMCSC5L3up
This was referenced Nov 18, 2026
Open
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AJYxo4YJZUXcPJ1bHdAHKy
Owner
Author
|
Approved by the user on its tests (2026-11-19). GitHub's required checks pass on the branch merged with current main. Merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #347.
The first of the notification PRs from the design note: the one core primitive it asked for, approved in the decisions comment.
API for review
It is built the same way as
expanded(): a draw closure sets the flag on the node's accesskit builder. Notification stacks, Spinner #348 and status lines will all use it.Tests
interaction::a_live_node_is_announced_as_a_live_region: aStatusnode with.live(Polite)readslive() == Some(Polite)in the kittest accesskit tree, and a sibling without it readsNone.Behaviour changes
None. The change only adds API.
cargo xtask ci: exit 0 on this head, merged with current main.🤖 Generated with Claude Code