mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
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 !