Keep summaries in browse mode, focus splitters, speak checked tree items

Adopt three current Orca web behaviors:

- A native <summary> no longer forces focus mode, so its expanded
  details can be read without switching back (Orca issue #543). ARIA
  disclosure buttons keep focus mode.
- A focusable separator is a splitter and uses focus mode so arrow keys
  resize the panes. Static separators stay in browse mode.
- Checkable tree items present checked, not checked or partially
  checked on focus and on state change (Orca issue #777).

The web-widgets native proof records Chromium's exposure of each widget.
Verified live in Brave with tests/browser-web-widgets.html.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Storm DragonandClaude Opus 5.5 committed 2026-12-01 03:04:16 -05:00
1 parent 996685539a
commit 210e949f76
7 files changed
+142 -2

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>Cthulhu Browser Probe</title>
<button autofocus>Start widget probe</button>
<details open>
<summary>Disclosure summary</summary>
<p>Disclosed paragraph.</p>
</details>
<div role="separator" tabindex="0" aria-label="Pane splitter" aria-orientation="vertical"
aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
<hr aria-label="Static separator">
<div role="tree" aria-label="Options">
<div role="treeitem" aria-label="Checked option" aria-checked="true" aria-selected="false" tabindex="0">Checked option</div>
<div role="treeitem" aria-label="Unchecked option" aria-checked="false" aria-selected="false" tabindex="-1">Unchecked option</div>
<div role="treeitem" aria-label="Plain option" aria-selected="false" tabindex="-1">Plain option</div>
</div>
</html>
+1
View File
@@ -48,6 +48,7 @@ BROWSER_PROOFS = {
"document": ("./internal/app", "^TestNativeBrowserDocumentCommands$", 45, 50),
"editing": ("./internal/app", "^TestNativeBrowserEditing$", 45, 50),
"editor": ("./internal/app", "^TestNativeBrowserEditorTyping$", 30, 35, "browser-editor.html"),
"web-widgets": ("./internal/atspi", "^TestNativeBrowserWebWidgetTraits$", 25, 30, "browser-web-widgets.html"),
"late-editable": ("./internal/atspi", "^TestNativeBrowserLateEditableCaret$", 30, 35, "browser-late-editable.html"),
"selection": ("./internal/app", "^TestNativeBrowserSelection$", 35, 40),
"modes": ("./internal/app", "^TestNativeBrowserModes$", 45, 50),