Accessible alternatives for radioButtons, checkboxGroupInput and fileInput added

This commit is contained in:
2026-01-26 13:20:11 +00:00
parent 7ca1a44d91
commit 04e12d1a36
12 changed files with 499 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
const checkAll = function(event) {
event.preventDefault();
const $input = $(event.target).closest('.shiny-input-a11ycheckboxgroup');
$input.find('input[type=\"checkbox\"]').prop('checked', true);
$input.trigger('change');
return false;
};
const clearAll = function(event) {
event.preventDefault();
const $input = $(event.target).closest('.shiny-input-a11ycheckboxgroup');
$input.find('input[type=\"checkbox\"]').prop('checked', false);
$input.trigger('change');
return false;
};