Publish bounded semantic live-region events - #558
Merged
Merged
Conversation
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.
Closes #546. Advances #262 and enables SceneTech/AppScene#185.
WebScene now publishes bounded immutable semantic live-region event leases with ordered sequences, document/frame generations, stable region identity, role, politeness, relevant/atomic/busy/initial/truncation flags, UTF-8 text, batch generation, and explicit dropped-event accounting. The worker supports explicit aria-live plus implicit status/alert/log, composed-tree coalescing, atomic/relevant/busy behavior, duplicate suppression, initial-alert-only behavior, nested ownership, hidden/inert/detached exclusion, and navigation/low-memory/teardown race retirement.
Bounds: 256 queued events, 64 per lease, 64 KiB per event, 1 MiB text, 256 live regions, 4,096 fragments per region, and 16,384 DOM visits per checkpoint. Partial scans fail closed and loss is reported.
Validation intentionally deferred:
git diff --checkpassed; native/C ABI/browser, terminal/problems/tasks/chat, cap, ordering, lifecycle and performance regressions were authored but not executed. AppScene announcement delivery #185, UIA/AT-SPI #183/#184, measured deltas #547, and packaged VoiceOver/Narrator/Orca acceptance remain open.