From e10c31ce2b9cf5ff894466e2c2b469bbd0bc4df8 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Fri, 5 Sep 2025 18:57:21 +0800 Subject: [PATCH] MDL-86512 core: Assign status role for the number of selected items Add a status role for the container containing the number of selected items for bulk actions so that screen readers will announce this number when an item gets selected for bulk action. --- .../format/templates/local/content/bulkedittools.mustache | 2 +- public/lib/templates/bulkactions/bulk_actions.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/course/format/templates/local/content/bulkedittools.mustache b/public/course/format/templates/local/content/bulkedittools.mustache index 7e4d71c0d79..dc51a2ffe3d 100644 --- a/public/course/format/templates/local/content/bulkedittools.mustache +++ b/public/course/format/templates/local/content/bulkedittools.mustache @@ -79,7 +79,7 @@ {{#pix}} e/cancel, core {{/pix}} -
+
{{#str}} bulkselection, core_courseformat, 0 {{/str}}
diff --git a/public/lib/templates/bulkactions/bulk_actions.mustache b/public/lib/templates/bulkactions/bulk_actions.mustache index c44bf52a8fd..c6cd8d45a71 100644 --- a/public/lib/templates/bulkactions/bulk_actions.mustache +++ b/public/lib/templates/bulkactions/bulk_actions.mustache @@ -86,7 +86,7 @@ {{#pix}} e/cancel, core {{/pix}} -
+
{{#str}} bulkselection, core, {{bulkselectioncount}} {{/str}}