From f819403bd5bc05ce63cdeb1e441adaad7992f8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= <76261501+zecakeh@users.noreply.github.com> Date: Tue, 10 Dec 2024 23:59:29 +0100 Subject: [PATCH] Change the accessible role of info boxes to `note` (#2022) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `alert` role is intrusive and should only be used when the user's immediate attention is required. Given that this boxes only provide additional content to the current paragraph, the `note` role seems more appropriate. Signed-off-by: Kévin Commaille --- changelogs/internal/newsfragments/2022.clarification | 1 + layouts/partials/alert.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/internal/newsfragments/2022.clarification diff --git a/changelogs/internal/newsfragments/2022.clarification b/changelogs/internal/newsfragments/2022.clarification new file mode 100644 index 00000000..c9395967 --- /dev/null +++ b/changelogs/internal/newsfragments/2022.clarification @@ -0,0 +1 @@ +Change the accessible role of info boxes to `note`. diff --git a/layouts/partials/alert.html b/layouts/partials/alert.html index 91dd6799..40e13db4 100644 --- a/layouts/partials/alert.html +++ b/layouts/partials/alert.html @@ -15,6 +15,6 @@ {{ $content := .content}} {{ $omit_title := .omit_title }} -