From b473b7905d42b66a6e301d96bcaff18a4508f6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Thu, 11 Jul 2024 12:24:19 +0200 Subject: [PATCH] :bug: Fix Text docs re: accessibility --- .../src/app/main/ui/ds/foundations/typography/text.mdx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/frontend/src/app/main/ui/ds/foundations/typography/text.mdx b/frontend/src/app/main/ui/ds/foundations/typography/text.mdx index 76c61a625..52c97e52d 100644 --- a/frontend/src/app/main/ui/ds/foundations/typography/text.mdx +++ b/frontend/src/app/main/ui/ds/foundations/typography/text.mdx @@ -37,12 +37,3 @@ You can now use the typography IDs defined in the namespace: ```clj [:> text* {:typography t/title-large :tag "p"} "Welcome to Penpot"] ``` - -## Accesibility - -There should only be one level 1 heading `

` per page. - -Headings are used to navigate the page and must follow the `

` -> `

` -> `

` -> `

` -> `

` -> `
` hierarchy. -For example, do not skip levels in the `

` -> `

` hierarchy if there is no `

` in between. - -We should not choose the heading level by its visual aspect.