test(chrome): the handle and the enumeration agree on editable too

The helper compared clickable alone, so the inherited-contenteditable bug
was caught by unit test only and never in a real browser.
This commit is contained in:
pj committed 2026-08-18 00:15:55 +05:30
1 parent 93580e076d
commit 04327e63b6
3 files changed
+46 -20

No files matched your search

+4 -1
View File
@@ -63,7 +63,10 @@
<input id="hint-name" type="text" name="reference-field" />
<input id="agree" type="checkbox" placeholder="not a hint" />
<textarea id="notes"></textarea>
<div id="bio" contenteditable="true">bio</div>
<!-- contenteditable is INHERITED, so #bio-word answers isContentEditable
true while matching neither producer's editable selector itself. It is
the element the ax handle and the enumeration disagreed on. -->
<div id="bio" contenteditable="true">bio <span id="bio-word">word</span></div>
<div id="menu" role="button">menu</div>
<!-- One element per ARIA role both producers resolve as clickable. A role
covered on one side only makes that control reachable for one host,