MDL-68612 user: Participants filter row accessibility improvements
[moodle.git] / user / templates / local / participantsfilter / autocomplete_selection_items.mustache
index 9f358b6..732bb23 100644 (file)
 {{#items}}
     <span role="listitem" data-value="{{value}}" aria-selected="true"
             class="badge badge-secondary clickable text-wrap text-break line-height-4 mr-2 my-1">
-        {{label}}<i class="icon fa fa-times pl-2 mr-0"></i>
+        {{label}}
+        <button class="btn btn-link text-reset p-0" aria-label='{{#str}}clearfilterselection, core_user, {{label}}{{/str}}'>
+            <i class="icon fa fa-times pl-2 mr-0"></i>
+        </button>
     </span>
 {{/items}}
 {{^items}}