fix(a11y): WCAG 2.1 AA fixes (#2219)

This commit is contained in:
Philip Okugbe
2026-05-20 16:47:25 +01:00
committed by GitHub
parent 1c166c4736
commit 92c0e36e46
119 changed files with 1064 additions and 194 deletions
@@ -19,6 +19,7 @@ import { getSpaceUrl } from "@/lib/config";
import { useTranslation } from "react-i18next";
import { getInitialsColor } from "@/lib/get-initials-color";
import PageListSkeleton from "@/components/ui/page-list-skeleton";
import rowClasses from "@/components/ui/clickable-table-row.module.css";
export default function FavoritesPage() {
const { t } = useTranslation();
@@ -49,7 +50,7 @@ export default function FavoritesPage() {
return (
<Container size={800} py="xl">
<Title order={3} mb="lg">
<Title order={1} size="h3" mb="lg">
{t("Favorites")}
</Title>
{favorites.length > 0 ? (
@@ -59,9 +60,10 @@ export default function FavoritesPage() {
<Table.Tbody>
{favorites.map((fav) =>
fav.page ? (
<Table.Tr key={fav.id}>
<Table.Tr key={fav.id} className={rowClasses.row}>
<Table.Td>
<UnstyledButton
className={rowClasses.link}
component={Link}
to={buildPageUrl(
fav.space?.slug,
+1 -1
View File
@@ -30,7 +30,7 @@ export default function Spaces() {
<Container size={"800"} pt="xl">
<Group justify="space-between" mb="xl">
<Title order={3}>{t("Spaces")}</Title>
<Title order={1} size="h3">{t("Spaces")}</Title>
{isAdmin && <CreateSpaceModal />}
</Group>