shoc-frontend-new/src/app
Alexandre Brandizzi d908b7e1da
[SH-117] Give work-order board indicators accessible names (#137)
* fix(work-orders): give board indicators accessible names

Two work-order indicators conveyed their state visually only.

The carried-over pill rendered a bare number whose sole description was a
title attribute. It sits beside the reschedule pill, which also renders as a
small number, so the two counters were indistinguishable without a mouse.

Past Due drove a box shadow, a tint and an icon colour, while the control kept
the fixed name "Due Date". The state read by colour alone and never reached
assistive technology.

- Carried-over pill takes the reschedule pill's shape: an accessible name plus
  a tooltip, so both counters are identifiable.
- Due Date announces the past-due state, on the Emergency dialog control and on
  the standard date popover.
- Past-due is passed separately from `highlight`, which is also raised
  transiently to draw attention to a row and is not durable state to announce.

* fix: associate past-due status with date control

---------

Co-authored-by: Alexandre Brandizzi <alexandre.naime@luby.com.br>
Co-authored-by: Codex Review Integration <codex-review@local.invalid>
2026-08-26 18:10:29 -03:00
..
(auth) fix(login): design parity — official logo, h1 welcome heading, label color (SH-245) 2026-08-18 12:08:17 -03:00
(protected) [SH-117] Give work-order board indicators accessible names (#137) 2026-08-26 18:10:29 -03:00
_components Feat/vite typescript migration (#16) 2026-06-18 14:41:17 -03:00
v fix(uplifts): align revise validation contract 2026-08-11 13:49:03 -03:00
404.tsx chore: upgrade frontend dependencies (#24) 2026-07-14 21:35:59 -03:00
_app.tsx Feat/vite typescript migration (#16) 2026-06-18 14:41:17 -03:00