Files
Pulse/tests
rcourtman a625841a9a Stop the accessibility scan depending on a scroll offset
The accessibility spec opens Agent Doctor on the Infrastructure settings
page, gives the command block focus, and scans the whole page. Focus
scrolls the page to wherever the browser chooses, and at that offset a
table row's expand button can sit half under the sticky settings header.
The scanner then reports that button as a target too small, because part
of it is covered.

Whether a row is cut there is an accident of the offset. The shell fix
in #4738 moved where WebKit rests a focused element by 22 pixels (it now
keeps it clear of the bottom navigation bar), and that was enough to
turn this scan from passing to failing on the iPhone project, on every
pull request. Reproduced on pulse-dev: the same steps report the button
with the shell's scroll rule on and nothing with it off, and the button
is under the sticky header, nowhere near the bar.

That one scan no longer judges target size. Target sizes are judged
where they were already, on the unscrolled page at the top of the same
loop. Every other rule is still scanned with Agent Doctor open.

The window-scroll test added in #4738 also failed once in CI on a WebKit
navigation error and passed on retry. It now tries a refused navigation
again itself.
2026-11-20 03:24:49 +00:00
..