Repository navigation
webmirror: publish the browser tab to the accessibility mirror and text layer - #162
Merged
Merged
Conversation
…xt layer Adds window/webmirror, the one conversion from a toolkit widget tree to webcanvas.A11yNode (keys, roles, names, values, states, range), reusing the nameless-field rule of internal/a11yrole, plus a Host that implements A11yAware and TextInputHost: a TextView is one textbox with its text layer. The browser-tab Tree uses it. toolkit v0.370.0, webcanvas v0.14.0. Refs go-widgets/webcanvas#21 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
The browser tab drew a canvas a screen reader could not read. This feeds webcanvas's accessibility mirror (W2) and text layer (W3) from the toolkit.
webmirror:Convert,Nodes,TextInputandHost(awebcanvas.A11yAwareandTextInputHostover one or several trees, with a key prefix so two trees of one type cannot collide). The conversion exists once; the gallery will import it.internal/a11yrole, so the rule of a11y: nameless text fields are dropped by every native bridge #153/fix(a11y): publish nameless interactive nodes in the native bridges #154 holds: zero-area and nameless static nodes are dropped, a nameless interactive node (a text field) is published.internal/tab.Treeimplements both interfaces. ATextVieworCodeEditorgets the layer through itstextinput.Client; widgets are paired with nodes by the same traversal, and a mismatch gives no client rather than the wrong one.webmirrorandinternal/tab. The browser-side AX-tree test is in the gallery PR, which is the repo with a page to load.Refs go-widgets/webcanvas#21
🤖 Generated with Claude Code