mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-08-03 09:06:10 -05:00
BaseButton renders a bare button and does not enforce a name, so icon-only usages without aria-label are announced as just "button" — the a11y audit found this pattern regenerating across the codebase (42 current instances, including the TipTap bubble menu where v-tooltip provides no accessible name). The new vikunja/icon-button-accessible-name rule flags icon-only BaseButton/XButton usages that have no aria-label, aria-labelledby, title, visible text, or sr-only text; unknown child components are assumed to render text to avoid false positives. Set to 'warn' until the existing instances get aria-labels, then raise to 'error'. Claude-Session: https://claude.ai/code/session_018prq5WqRL38EGhPNQKqZUP