MDL-67663 mod_forum: Make user switching more accessible
authorJun Pataleta <jun@moodle.com>
Wed, 12 Feb 2020 16:35:38 +0000 (00:35 +0800)
committerJun Pataleta <jun@moodle.com>
Thu, 9 Apr 2020 09:50:08 +0000 (17:50 +0800)
commitd0f8a42e5f88845b8765b8172161f01dc6a761ef
treecd588b44642df6827cef1d42c6d377f5a0fdc0e1
parentdf0e58adb140f90712bcd3229ad936d3b4bc15d9
MDL-67663 mod_forum: Make user switching more accessible

* Add a more descriptive label for the next and previous buttons so that
the users would know that clicking on the next or previous buttons will
save the changes they made before proceeding to the next user.
* Add an sr-only div with aria-live to the user picker to let the grader
know the current user that is being graded.
* Hide the user picture from screen readers
mod/forum/amd/build/local/grades/local/grader/user_picker.min.js
mod/forum/amd/build/local/grades/local/grader/user_picker.min.js.map
mod/forum/amd/build/local/grades/local/grader/user_picker/selectors.min.js
mod/forum/amd/build/local/grades/local/grader/user_picker/selectors.min.js.map
mod/forum/amd/src/local/grades/local/grader/user_picker.js
mod/forum/amd/src/local/grades/local/grader/user_picker/selectors.js
mod/forum/lang/en/forum.php
mod/forum/templates/local/grades/local/grader/user_picker.mustache
mod/forum/templates/local/grades/local/grader/user_picker/user.mustache