From 96076606df180e10d1eb4b7c2de1f1b0d465ca03 Mon Sep 17 00:00:00 2001 From: NI0317 Date: Sun, 19 Jul 2026 11:32:07 +0800 Subject: [PATCH] polish(ui): apply ui-skills audit across a11y, motion cost, and numerics fixing-accessibility: expandable rows expose aria-expanded/controls, user messages become keyboard-operable buttons, pane dividers and the composer gain accessible names, the live status row announces politely, the busy form sets aria-busy, feedback failures render inline next to the form, and the muted/faint text tiers rise to AA-viable contrast. fixing-motion-performance: composer autosize moves to CSS field-sizing (dropping the per-keystroke measure/write cycle) and streaming scroll writes coalesce per frame while direct user actions stay synchronous. baseline-ui: data columns use tabular numerals, headings balance and prose wraps pretty, and z-index joins the token scale. improve-ui: straggler radii and control heights land on the declared size scale (radius-xs joins the ramp). fixing-metadata: the document language follows the active locale. --- packages/ui/desktop/src/app.ts | 68 +++++++++++++++++--------- packages/ui/desktop/src/i18n.ts | 4 ++ packages/ui/desktop/src/styles.css | 78 ++++++++++++++++++++++-------- 3 files changed, 108 insertions(+), 42 deletions(-) diff --git a/packages/ui/desktop/src/app.ts b/packages/ui/desktop/src/app.ts index fc855d951f..9641645088 100644 --- a/packages/ui/desktop/src/app.ts +++ b/packages/ui/desktop/src/app.ts @@ -211,7 +211,7 @@ function buildShell(): void { - +

@@ -283,7 +283,7 @@ function buildShell(): void {
- +