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 <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>
pull/28217/head
Michael Telatynski 2024-06-10 11:05:56 +01:00 committed by GitHub
parent eee17f43c3
commit afd6f63d7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,11 @@ function UserOnboardingButtonInternal({ selected, minimized }: Props): JSX.Eleme
<Heading size="4" className="mx_Heading_h4"> <Heading size="4" className="mx_Heading_h4">
{_t("common|welcome")} {_t("common|welcome")}
</Heading> </Heading>
<AccessibleButton className="mx_UserOnboardingButton_close" onClick={onDismiss} /> <AccessibleButton
className="mx_UserOnboardingButton_close"
onClick={onDismiss}
aria-label={_t("action|dismiss")}
/>
</div> </div>
</> </>
)} )}