Files
wekan/client/components/notifications
Lauri Ojansivu 8d71c6f925 Accessibility: every icon-only link and button has a name for screen readers.
21 controls showed only an icon and had no title, so a screen reader
announced them as an unnamed link: the swimlane and list drag handles, the
close buttons of the inline forms, the received, start, due and end date
buttons of a card, the add-attachment and edit-custom-field buttons, the
notification drawer's menu and close, the avatar's edit button, the list
open and back carets on a phone, the import's add-member and History's
previous and next. Each now has a translated title, which
client/lib/accessibility.js also makes its aria-label; the existing
translations are used, so no new strings.

tests/iconOnlyControlLabels.test.cjs scans every template for a link or
button whose only content is an icon and fails on one without a name.

This is part of #337, which stays open for the rest.

Thanks to ndarilek and xet7 !
2026-10-14 16:59:57 +03:00
..