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.
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
{{#pix}} e/cancel, core {{/pix}}
|
||||
</button>
|
||||
</div>
|
||||
<div class="bulkcount" data-for="bulkcount">
|
||||
<div class="bulkcount" data-for="bulkcount" role="status">
|
||||
{{#str}} bulkselection, core_courseformat, 0 {{/str}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
{{#pix}} e/cancel, core {{/pix}}
|
||||
</button>
|
||||
</div>
|
||||
<div data-for="bulkcount">
|
||||
<div data-for="bulkcount" role="status">
|
||||
{{#str}} bulkselection, core, {{bulkselectioncount}} {{/str}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user