From 5aa4da87f4f20f56f7da6f0b7454d72eaf6f57ac Mon Sep 17 00:00:00 2001 From: poli0981 <127664709+poli0981@users.noreply.github.com> Date: Tue, 10 Nov 2026 19:18:49 +0700 Subject: [PATCH] fix(a11y): five defects found by driving the installed build Every one of these was in code whose tests were green. They were found by installing the bundle, opening WebView2's debugging port, and pressing real keys while reading document.activeElement and the accessibility tree. - The high-contrast border on destructive buttons had never been drawn. The rule sat in @layer base; every button carries Tailwind's border utility, a later layer wins whatever the selectors say, and border: 2px lost to border-width: 1px. It is outside every layer, and a double border, because 2px beside 1px is not a difference anyone sees. - Accepting the legal gate left focus on nothing: the gate is rendered instead of the shell, so the screen was replaced with the tab unchanged. - A button that disabled itself when pressed dropped focus to
, because a browser takes focus from a control that becomes disabled and jsdom does not. Use, Rescan, Run, Run audit, Add, Download the index, Stop and the two requirements buttons are aria-disabled while busy and ignore a second press. - A dialog's name read "Remove packages : certifi": a browser puts a space before visually-hidden text. The second half of the name is an aria-label. - The Updates tab's name read "Updates(5)". Zoom hotkeys were tried and are not in this commit: at 200% in the default window the package-name column collapsed to zero width. Co-Authored-By: Claude Fable 5.2