Files
crewli/apps
bert.hausmans eca624ee9d fix: suppress PrimeVue default drawer close button to fix focus a11y
Review follow-up (crewli-reviewer). With header:'!hidden' the default close
button was still mounted (display:none); PrimeVue Drawer.focus() falls back to
focusing it (no [autofocus] in our slots), a no-op that strands keyboard focus
behind the overlay. Set :show-close-icon="false" so the button is never
created — focus() no-ops cleanly and v-focustrap focuses the visible brand-row
X. Also: flip the previously tautological showCloseIcon test to assert the
decision (toBe(false)); align the mobile close aria-label to English 'Close
menu' (matching 'Collapse sidebar') for locale consistency.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 04:12:27 +02:00
..