MDL-80353 core_user: announce user selector changes to the screenreader

This commit is contained in:
Marina Glancy
2023-12-08 15:29:44 +00:00
parent 4f347438c5
commit 487e1c4ac6
+1 -1
View File
@@ -262,7 +262,7 @@ abstract class user_selector_base {
$multiselect = 'multiple="multiple" ';
}
$output = '<div class="userselector" id="' . $this->name . '_wrapper">' . "\n" .
'<select name="' . $name . '" id="' . $this->name . '" ' .
'<select name="' . $name . '" id="' . $this->name . '" aria-live="polite" ' .
$multiselect . 'size="' . $this->rows . '" class="form-control no-overflow">' . "\n";
// Populate the select.