Update button elements in selection controls to ensure proper type attribute for improved accessibility

This commit is contained in:
Ross
2026-03-25 21:21:50 +00:00
parent d6487eae88
commit bd0c71140c
3 changed files with 20 additions and 14 deletions
+2 -2
View File
@@ -369,8 +369,8 @@
+ ' <div>'
+ ' <button class="btn btn-outline-secondary btn-sm" id="toggle-row-selection-' + token + '" type="button">Enable row selection</button>'
+ ' <div id="selection-controls-' + token + '" class="btn-group ms-2" role="group" style="display:none;">'
+ ' <button class="btn btn-sm btn-outline-primary" id="select-all-' + token + '">Select all</button>'
+ ' <button class="btn btn-sm btn-outline-secondary" id="clear-selection-' + token + '">Clear</button>'
+ ' <button type="button" class="btn btn-sm btn-outline-primary" id="select-all-' + token + '">Select all</button>'
+ ' <button type="button" class="btn btn-sm btn-outline-secondary" id="clear-selection-' + token + '">Clear</button>'
+ ' </div>'
+ ' </div>'
+ ' <div>'