feat(audit): component re-audit + fixes P0–P5 (P4 complete, P5 in progress)
Re-audit of the whole component catalog at pilot depth (91 fichas + the
checkpoint verdicts in docs/audit/components/) and the executed fix packages.
- P0–P3: doctrine (sema participation, CANON §3 intent, component-guide §5 +
API naming, §32 outline), guards (morfo-vocabulary-check S10/S11d,
component-audit A-3.1/A-1.4/S9, eidos-lint classHooks), morfo contracts
(role=application removed ×4, aria-selected off the Day, drp translationRef,
field data-state prune, pin-input commit-set, media-player renames), 13 new
sema packs + 12 morfos family-default → pack.
- P4 (N1–N10) COMPLETE: selectionMode (select/combobox/toggle-group/calendar);
onValueCommit terminal-callback norm (pin-input/search/password/textarea +
date/time/color-field add); typed validation reason + onInvalid (tags-input,
css-field); index/onIndexChange (carousel); deselectable; openDelay/
groupSkipDelay; allowCustomValue; defaultValue prune.
- P5 (in progress): S1 class-hooks codemod (22 hooks → data-attrs across
cropper/button/image-picker/toggle/image-adjustments); S5 outline remnant in
field.css; depth pass (data-depth=overlay on tooltip/toast/float-panel);
touch-rows (--touch-target token, decoupled ::before hit-slop, area-not-visual,
44 AAA). S6 (Field composition) + S8 (calendar-surface) pending.
Verification: errors-outside-(alpha|words|palabras|chronos) == 59 (baseline);
morfo-vocabulary-check exit 0; eidos-lint class-hooks/invalid 0 on touched
components; per-component vitest suites green.
Handoff + remaining plan: docs/process/continue-audit-fixes-2026-07.md
Excluded (broken by the N1 rename, left broken per user decision, not staged):
words/**, palabras/**, chronos, web/routes/alpha/**.
Reconciliation pending: the touch-rows ::before for checkbox/switch reverses
changelog §37's earlier pseudo-element rejection (WCAG-overlap) that had routed
markers to a labeled-row/Field task — flagged for the user in the handoff.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
3 months ago
|
|
|
|
# select — ficha de auditoría (RE-AUDITADA 2026-07-07, profundidad piloto)
|
|
|
|
|
|
|
|
|
|
|
|
- **Familia**: selección (popup propio, de-dialoged: su Content es listbox, no dialog) · **Método**: solo análisis; evidencia por dimensión · demos fuera
|
|
|
|
|
|
- **Capas leídas**: [morfo](../../../src/uix/morfo/components/select.ts) (256 líneas; eventos :16-64, roles :91-243, teclado :119-125) · pack ✓ existe
|
|
|
|
|
|
- **Máquina**: PASS limpio · tests ✓ · README ×2 ✓ · depth ×2 ✓
|
|
|
|
|
|
|
|
|
|
|
|
## Dimensiones (evidencia leída)
|
|
|
|
|
|
|
|
|
|
|
|
| # | Dimensión | Estado | Evidencia |
|
|
|
|
|
|
|---|---|---|---|
|
|
|
|
|
|
| 3 | Coherencia semántica | ✓ completa | 4 eventos: `commit-select`/`commit-unselect` (affirm :21,:31) + `emerge-open`/`emerge-dismiss` (:38-64 — posee su popup, correcto: no delega a Popover porque su Content NO es dialog) + `expression: 'pack'` + pack ✓. **unselect=affirm** consistente con calendar/combobox (censo ×3: la doctrina de-facto "des-seleccionar es acto afirmativo; reset/cancel neutral" — solo falta escribirla) |
|
|
|
|
|
|
| 8 | Contrato morfo | ✓ ejemplar | Trigger `role='combobox'` (:91) + `aria-activedescendant` (:110) con la razón del managed-focus documentada (:62 "items are never DOM-focused"); listbox/option/group/separator (:144-243) — APG select-only combobox completo |
|
|
|
|
|
|
| 9 | A11y | ✓ con verificación | Teclado :119-125 (Enter/Space open, flechas, Home/End, Escape) ✓; **F-2**: typeahead (saltar a opción por carácter — APG lo recomienda; el nativo lo tiene) no declarable en la gramática keyboard del morfo → verificar en provider durante fixes |
|
|
|
|
|
|
| 10 | Theming | ✓ | list-surface adoptado (era pendiente del registro 06-21); focus outline (o5) → SYS-5; depth ×2 ✓ |
|
|
|
|
|
|
| resto | | ✓ | tests ✓; README ×2 ✓ |
|
|
|
|
|
|
|
|
|
|
|
|
## Hallazgos y propuestas
|
|
|
|
|
|
|
|
|
|
|
|
| ID | Hallazgo | Propuesta |
|
|
|
|
|
|
|---|---|---|
|
|
|
|
|
|
| **F-1** | Adopción list-surface a confirmar fila a fila (item/option/group-label por `--list-item-*` sin re-declarar) | Verificación dirigida (grep + visual) en fase de fixes |
|
|
|
|
|
|
| **F-2** | Typeahead sin evidencia en morfo (puede vivir en provider) | Verificación dirigida; si falta, añadirlo (APG) |
|
|
|
|
|
|
|
|
|
|
|
|
## Escalan al sistema
|
|
|
|
|
|
|
|
|
|
|
|
Censo "unselect=affirm" ×3 (con calendar F-5: la respuesta es CONSISTENCIA — documentar, no corregir).
|
|
|
|
|
|
|
|
|
|
|
|
## Veredictos
|
|
|
|
|
|
|
|
|
|
|
|
*(pendiente — checkpoint post-barrido)*
|