From 1d1496ff3e05e1e48c4bf59fdd29d43e09ee54fe Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Tue, 17 Mar 2026 23:46:39 +0800 Subject: [PATCH] MDL-85451 block_timeline: Group the due date filter options To ensure that the filter options for the day filter menu matches the menu pattern and pass accessibility checks, we need to: * Group the due date filter options, labelled by the "Due date" "heading". * Set the "Due date" heading with a presentation role to prevent assistive technologies from announcing it when the user goes through the menu options. --- .../templates/nav-day-filter.mustache | 100 +++++++++--------- 1 file changed, 51 insertions(+), 49 deletions(-) diff --git a/public/blocks/timeline/templates/nav-day-filter.mustache b/public/blocks/timeline/templates/nav-day-filter.mustache index db8c8ae0233..75fbba3383f 100644 --- a/public/blocks/timeline/templates/nav-day-filter.mustache +++ b/public/blocks/timeline/templates/nav-day-filter.mustache @@ -60,54 +60,56 @@ {{#str}} overdue, block_timeline {{/str}} - - - {{#str}} next7days, block_timeline {{/str}} - - - {{#str}} next30days, block_timeline {{/str}} - - - {{#str}} next3months, block_timeline {{/str}} - - - {{#str}} next6months, block_timeline {{/str}} - +
+ + + {{#str}} next7days, block_timeline {{/str}} + + + {{#str}} next30days, block_timeline {{/str}} + + + {{#str}} next3months, block_timeline {{/str}} + + + {{#str}} next6months, block_timeline {{/str}} + +