From 1feb89735098d8104c5a25645912dc2ad44b3615 Mon Sep 17 00:00:00 2001 From: TatianaFokina Date: Fri, 3 Jan 2025 04:36:42 +0400 Subject: [PATCH 1/6] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=B8=D1=81=D1=8B=D0=B2?= =?UTF-8?q?=D0=B0=D0=B5=D1=82=20=D0=BF=D0=BB=D0=B5=D0=B9=D1=81=D1=85=D0=BE?= =?UTF-8?q?=D0=BB=D0=B4=D0=B5=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demos/list-with-styles/index.html | 78 +++++++++++++++++++ .../demos/list-without-styles/index.html | 54 +++++++++++++ a11y/role-list/index.md | 71 +++++++++++++---- 3 files changed, 189 insertions(+), 14 deletions(-) create mode 100644 a11y/role-list/demos/list-with-styles/index.html create mode 100644 a11y/role-list/demos/list-without-styles/index.html diff --git a/a11y/role-list/demos/list-with-styles/index.html b/a11y/role-list/demos/list-with-styles/index.html new file mode 100644 index 0000000000..4f02c7b72e --- /dev/null +++ b/a11y/role-list/demos/list-with-styles/index.html @@ -0,0 +1,78 @@ + + + + Кастомный список со стилями — list — Дока + + + + + + + + +
+ Повелитель мух + Чума + Процесс + Мамаша Кураж и её дети +
+ + diff --git a/a11y/role-list/demos/list-without-styles/index.html b/a11y/role-list/demos/list-without-styles/index.html new file mode 100644 index 0000000000..dc1778258e --- /dev/null +++ b/a11y/role-list/demos/list-without-styles/index.html @@ -0,0 +1,54 @@ + + + + Кастомный список по умолчанию — list — Дока + + + + + + + + +
+ Повелитель мух + Чума + Процесс + Мамаша Кураж и её дети +
+ + diff --git a/a11y/role-list/index.md b/a11y/role-list/index.md index d06cd92c00..75962bf26f 100644 --- a/a11y/role-list/index.md +++ b/a11y/role-list/index.md @@ -1,45 +1,88 @@ --- title: "`list`" -description: "ARIA-атрибут, который добавляет тегу роль списка." +description: "Атрибут для роли списка." authors: - o-maykova + - tatianafokina related: - a11y/role-listitem - html/ul - html/ol tags: - doka - - placeholder --- ## Кратко -[Роль структуры документа](/a11y/aria-roles/#roli-struktury-dokumenta) из [WAI-ARIA](/a11y/aria-intro/#specifikaciya). Добавляет любому тегу семантическую роль списка. Делает содержимое более доступным для скринридеров, если нет возможности использовать возможности HTML. +[Роль структуры документа](/a11y/aria-roles/#roli-struktury-dokumenta) из [WAI-ARIA](/a11y/aria-intro/#specifikaciya) для списков. -Роль есть у тегов [`