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

Commit afd6f63

Browse files
authored
Add missing a11y label to dismiss onboarding button in room list (#12587)
* 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]>
1 parent eee17f4 commit afd6f63

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/views/user-onboarding/UserOnboardingButton.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ function UserOnboardingButtonInternal({ selected, minimized }: Props): JSX.Eleme
7676
<Heading size="4" className="mx_Heading_h4">
7777
{_t("common|welcome")}
7878
</Heading>
79-
<AccessibleButton className="mx_UserOnboardingButton_close" onClick={onDismiss} />
79+
<AccessibleButton
80+
className="mx_UserOnboardingButton_close"
81+
onClick={onDismiss}
82+
aria-label={_t("action|dismiss")}
83+
/>
8084
</div>
8185
</>
8286
)}

0 commit comments

Comments
 (0)