fix(task-board): translate assign-avatar button and add aria-label - #5412
Merged
Conversation
The unassigned-avatar "Assign" button in the task-board card row used a hardcoded English title and no aria-label, unlike every other icon-only control on the board. Reuse the existing taskBoard.taskBoard.assignButton key (already translated to pt-br) for both the title and aria-label.
pedrofrxncx
enabled auto-merge (squash)
July 30, 2026 15:31
decocms Bot
pushed a commit
that referenced
this pull request
Jul 30, 2026
PR: #5412 fix(task-board): translate assign-avatar button and add aria-label Bump type: patch - decocms (apps/api/package.json): 4.149.3 -> 4.149.4 - @decocms/native (apps/native/package.json): 4.149.3 -> 4.149.4 Deploy-Scope: web
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Source: found while auditing task-board UI/i18n polish for icon-only controls missing aria-labels and untranslated strings (recurring merge lane — see #4903, #5408).
Why a maintainer wants this: the unassigned-avatar "Assign" trigger in the task-board card row (
AssigneeDisplayinapps/web/src/layouts/task-board/index.tsx) was the one icon-only control on the board left with a hardcoded Englishtitleand noaria-labelat all — it shows literal "Assign" to pt-br users and is invisible to screen readers, both inconsistent with every sibling control in the same file (all of which go throught()and setaria-label).Fix: reuse the existing
taskBoard.taskBoard.assignButtonkey (already defined and translated to pt-br as "Atribuir", already used by the bulk-actions toolbar) for bothtitleand the newaria-label, instead of the literal string.Net change: +2/-1 in
apps/web/src/layouts/task-board/index.tsx. Behavior-preserving — same button, same translation key already shipped in bothen/task-board.tsandpt-br/task-board.ts, no new dictionary entries needed.To verify: open a task board with an unassigned task that has assignable members, hover/inspect the empty-avatar button in the card row — tooltip and (via a11y tree) accessible name now read "Assign" (or "Atribuir" in pt-br) instead of a raw untranslated string with no accessible name.
Checks run locally:
bun run fmt(clean) andcd apps/web && bunx tsc --noEmit(clean). Full CI validates lint/tests.Summary by cubic
Translate the unassigned-avatar "Assign" button on the task board and add an aria-label for accessibility. Uses the existing
taskBoard.taskBoard.assignButtonkey for both tooltip and accessible name, matching other icon-only controls.Written for commit d834cfe. Summary will update on new commits.