Skip to content

Commit

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

* Add a11y label to dismiss onboarding button in room list

Signed-off-by: Michael Telatynski <[email protected]>

* Iterate

Signed-off-by: Michael Telatynski <[email protected]>

* Iterate

Signed-off-by: Michael Telatynski <[email protected]>

---------

Signed-off-by: Michael Telatynski <[email protected]>
  • 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.