Skip to content

Commit 7c47bc5

Browse files
akurinnoyclaude
andauthored
fix(a11y): align Restore Workspace button accessible name with visible label (#1547)
The button's aria-label was "Restore from backup" while the visible text was "Restore Workspace", violating WCAG 2.5.3 (Label in Name). Removing the aria-label lets the visible text serve as the accessible name. Fixes: https://issues.redhat.com/browse/CRW-10720 Assisted-by: Claude Opus 4.6 (1M context) Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ffebd42 commit 7c47bc5

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • packages/dashboard-frontend/src/pages/WorkspacesList/BackupsView/Toolbar

packages/dashboard-frontend/src/pages/WorkspacesList/BackupsView/Toolbar/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ export class BackupsListToolbar extends React.PureComponent<Props> {
108108
icon={<RedoIcon />}
109109
iconPosition="left"
110110
variant={ButtonVariant.link}
111-
aria-label="Restore from backup"
112111
onClick={() => onRestoreClick()}
113112
data-testid="restore-from-backup-button"
114113
>

0 commit comments

Comments
 (0)