From 29ce270d46b94d4a7b055fe19b24415fdcf1c502 Mon Sep 17 00:00:00 2001 From: debont80 Date: Wed, 1 Jul 2026 08:11:30 -0400 Subject: [PATCH] a11y: Select disabled (UI31), native colorScheme (UI32), touch targets (W16), High Contrast (W18) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit UI31 — the native and applies disabled foreground/background/stroke tokens + not-allowed cursor, so it can show a disabled state like Fluent controls. UI32 — dropped the datetime-local's explicit colorScheme:'light dark' so it inherits the resolved in-app scheme from the app root; the native calendar popup now follows the app's Light/Dark theme, consistent with the native ` wrapper exposes no `disabled` prop, +- [x] **UI31 — `Select` can't be disabled.** The native-`` and applies a disabled style (disabled foreground/background/stroke tokens + `not-allowed` + cursor, hover suppressed) so it reads like a disabled Fluent control.* +- [x] **UI32 — Native-control dark mode is uneven.** The DownloadBar `datetime-local` sets `colorScheme: 'light dark'` explicitly; the `Select` relies on the root `colorScheme`. **Standard:** set `colorScheme` consistently on both. + *Fixed in [downloadBar/styles.ts](src/renderer/src/components/downloadBar/styles.ts): dropped the explicit + `colorScheme: 'light dark'` on the `datetime-local` so it inherits the resolved in-app scheme set on the app + root (App.tsx) — the native calendar popup now follows the app's Light/Dark theme, consistent with the + native ` onChange(e.target.value)} aria-label={ariaLabel} + disabled={disabled} > {options.map((o) => (