mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
0f2bd6051c
ui 0.38.1 named a titled alert's row with aria-label="<Type>: <title>" on a plain div. ARIA prohibits naming a generic element: Chrome exposes it, WebKit drops it, so VoiceOver on Safari read only the bold title and lost the type word that 0.37.0 showed as text. The type word now rides a visually hidden sr-only span before the title, which every engine reads. Also: the alertIconRenderer seam was consulted even when the title line carried an emoji (its result was discarded, so rendering was right, but the contract says it is not called); it is now called only for a title line with an icon comment and no emoji. Caught by the seam test, which, like the title test, had been silently skipped: both are DOM-gated and were missing from the CI DOM list in test.yml. Registered now. React peer loosened back to ^19.2.3 (0.38.1 declared ^19.2.8 only because the dependency batch moved it; nothing in the package needs a newer API). Verified: DOM_TESTS=1 bun test --isolate on both alert test files 14/14, tsc clean, smoke:package against the published core 0.25.2, full ui suite unchanged.