diff --git a/CODE-AUDIT.md b/CODE-AUDIT.md index e8ee0ae..27ca808 100644 --- a/CODE-AUDIT.md +++ b/CODE-AUDIT.md @@ -1042,14 +1042,14 @@ DPI handled by Chromium). The deviations: - [x] **W17 — No `aria-live` for status changes.** Narrator doesn't announce download progress, completion, or errors — there are no live regions. **Standard:** polite live regions for queue/status updates. -- [ ] **W18 — Custom colors unverified under High Contrast.** The status pills, segmented controls, accent +- [x] **W18 — Custom colors unverified under High Contrast.** The status pills, segmented controls, accent swatches, and thumbnail tints use explicit background colors that Windows forced-colors mode may not adapt (nothing sets `forced-color-adjust`). **Standard:** test under each Contrast theme; let system colors win. - [ ] **(ref) No semantic headings / radiogroup arrow-nav / focus rings** — UI33, UI30, UI28–29 (all bear on Narrator + keyboard users). ### Settings & standard conventions (mostly OK) -- [ ] **W19 — Window/taskbar don't reflect state.** No window title at all (L108), so the taskbar button +- [x] **W19 — Window/taskbar don't reflect state.** No window title at all (L108), so the taskbar button never shows "3 downloading" or similar. **Standard:** reflect activity in the title/tooltip. - [ ] **(OK)** Per-user no-admin install, NSIS uninstaller, `aerofetch://` registration, AppUserModelID, tray tooltip + left-click restore + right-click menu, taskbar progress, and jump list all follow diff --git a/src/renderer/src/assets/base.css b/src/renderer/src/assets/base.css index c0ee042..89b5870 100644 --- a/src/renderer/src/assets/base.css +++ b/src/renderer/src/assets/base.css @@ -2,6 +2,17 @@ *::before, *::after { box-sizing: border-box; + /* Let Windows High Contrast mode override all colors by default (W18). */ + forced-color-adjust: auto; +} + +/* CommandPalette backdrop uses a hardcoded rgba — replace it with the standard HC + overlay so the backdrop remains perceptible under forced-colors. */ +@media (forced-colors: active) { + [class*="backdrop"] { + background-color: Canvas; + border: 2px solid ButtonText; + } } :focus-visible {