无无障碍开销时的正常 Blink 布局速度 (< 2.8x)
When the browser accessibility tree is uninitialized, mutating 25 ARIA buttons stays under 2.8x the plain <div> baseline or under 1.5 ms.
Compares DOM attribute mutation reflow across 25 plain <div> elements vs 25 ARIA <button> elements on Chromium to detect active accessibility trees.
On Chromium browsers (detected via window.chrome or Chromium brand tokens), BotRefund benchmarks attribute updates (setAttribute) paired with offsetWidth layout reads across 25 plain <div> elements versus 25 ARIA-annotated <button> elements.
The detector flags when the ARIA element timing reaches at least 2.8 times the plain <div> baseline and takes at least 1.5 ms.
启用 Chromium DevTools Protocol 无障碍检查或 Playwright 语义角色查询会实例化 Blink 的内部无障碍树,从而引入在普通消费者 Chromium 标签页中不存在的可测量 DOM 属性重排延迟。
Caveat: Genuine assistive technologies such as VoiceOver, NVDA, Windows Narrator, and accessibility-driven password managers also activate Blink's accessibility tree. Weighing this timing signal alongside human interaction protects assistive-technology users.
When the browser accessibility tree is uninitialized, mutating 25 ARIA buttons stays under 2.8x the plain <div> baseline or under 1.5 ms.
An instantiated accessibility tree raises ARIA mutation time to 2.8x baseline or higher (>= 1.5 ms), flagging possible semantic-selector automation when human interaction is absent.
Forensic significance: Corroborating signal of CDP or Playwright semantic-role querying when human interaction is absent; consider screen readers and password managers on interactive sessions.