Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Add a11y label to dismiss onboarding button in room list
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
  • Loading branch information
t3chguy committed Jun 7, 2024
1 parent c0cbd68 commit c4dda4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ function UserOnboardingButtonInternal({ selected, minimized }: Props): JSX.Eleme
<Heading size="4" className="mx_Heading_h4">
{_t("common|welcome")}
</Heading>
<AccessibleButton className="mx_UserOnboardingButton_close" onClick={onDismiss} />
<AccessibleButton
className="mx_UserOnboardingButton_close"
onClick={onDismiss}
aria-label={_t("onboarding|room_list_dismiss")}
/>
</div>
</>
)}
Expand Down
1 change: 1 addition & 0 deletions src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1674,6 +1674,7 @@
"personal_messaging_action": "Start your first chat",
"personal_messaging_title": "Secure messaging for friends and family",
"qr_or_app_links": "%(qrCode)s or %(appLinks)s",
"room_list_dismiss": "Dismiss welcome checklist",
"send_dm": "Send a Direct Message",
"set_up_profile": "Set up your profile",
"set_up_profile_action": "Your profile",
Expand Down

0 comments on commit c4dda4f

Please sign in to comment.