From a687b5045290ac9903a8eade631402d09731e1ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoe=CC=88=20Bijl?= Date: Tue, 25 Jul 2023 12:51:26 +0200 Subject: [PATCH] Fix for #109, add toggle state to buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds aria-pressed to the “Options” toggle buttons; this communicates their state to assistive technologies. --- brain/views/dash/partials/options.twig | 6 +++--- public/assets/scripts/dash.js | 9 +++++++-- public/assets/scripts/dash.js.map | 2 +- src/com/controllers/PageEditor.js | 13 +++++++++---- 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/brain/views/dash/partials/options.twig b/brain/views/dash/partials/options.twig index 2502514..ff08e5b 100644 --- a/brain/views/dash/partials/options.twig +++ b/brain/views/dash/partials/options.twig @@ -16,17 +16,17 @@ {% set published = 'false' %} {% endif %}
- - -