ARIA Accessibility improvements (#10675)
* Fix confusing tab indexes in EventTilePreview * Stop using headings inside buttons * Prefer labelledby and describedby over duplicated aria-labels * Improve semantics of tables used in settings * Fix types * Update tests * Fix timestamps
This commit is contained in:
parent
259b5fe253
commit
792a39a39b
21 changed files with 197 additions and 137 deletions
|
@ -476,7 +476,7 @@ const SpaceSetupPrivateScope: React.FC<{
|
|||
onFinished(false);
|
||||
}}
|
||||
>
|
||||
<h3>{_t("Just me")}</h3>
|
||||
{_t("Just me")}
|
||||
<div>{_t("A private space to organise your rooms")}</div>
|
||||
</AccessibleButton>
|
||||
<AccessibleButton
|
||||
|
@ -485,7 +485,7 @@ const SpaceSetupPrivateScope: React.FC<{
|
|||
onFinished(true);
|
||||
}}
|
||||
>
|
||||
<h3>{_t("Me and my teammates")}</h3>
|
||||
{_t("Me and my teammates")}
|
||||
<div>{_t("A private space for you and your teammates")}</div>
|
||||
</AccessibleButton>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue