From d4bd3ad4a869c87fcfa4f83b42555a6c8e1bc746 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Sat, 17 May 2025 09:03:45 +0200 Subject: vault backup: 2025-05-17 09:03:45 --- Semantic HTML.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'Semantic HTML.md') diff --git a/Semantic HTML.md b/Semantic HTML.md index cc4a892..04b9059 100644 --- a/Semantic HTML.md +++ b/Semantic HTML.md @@ -9,11 +9,21 @@ The browser builds an **AOM** (Accessibility Object Model); it uses semantic ele ### Roles Defined by [ARIA](https://w3c.github.io/aria/#dfn-role). All elements can have a `role` attribute, sementic elements have it implicitly. -For example used by screenreaders. +Roles give meaning to elements, so it's useful to use directly if we can't find any existing semantic element and just a div instead. -`
` and `