mirror of https://github.com/vuejs/vitepress
WCAG 2.5.3 wants the accessible name of a control to contain its visible text. The search button now takes its name from `buttonText` on every screen size (the text is visually hidden on small screens instead of removed) and no longer reads `buttonAriaLabel`; a flyout button only gets its `label` as `aria-label` when it shows no text; the key hints in the local search footer name their keys with hidden text instead of an `aria-label`, which a `kbd` element cannot carry. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>feat/not-found
parent
f35d81ac22
commit
840e5514e5
Loading…
Reference in new issue