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

Commit

Permalink
Add missing a11y label to dismiss onboarding button in room list (#12587
Browse files Browse the repository at this point in the history
)

* Add a11y label to dismiss onboarding button in room list

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
  • Loading branch information
t3chguy authored Jun 10, 2024
1 parent eee17f4 commit afd6f63
Showing 1 changed file with 5 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("action|dismiss")}
/>
</div>
</>
)}
Expand Down

0 comments on commit afd6f63

Please sign in to comment.