-
Notifications
You must be signed in to change notification settings - Fork 930
Description
β This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Target branch: release-0.19.x
Tested the asset from #14382 on Windows 10, Ubuntu 22, and a tablet with Android 13.
Observed behavior
-
When first I noticed that the arrow buttons for pagination on Mark attendance and Edit attendance pages were not keyboard navigable, it looked like it was only because of low number of learners, but even when I enrolled more (from 16 to 46), the list was still not paginated. Not sure where the threshold is for the number of learners in the class to be moved to the second page, but maybe it should be 10, same as on Attendance History page where arrow buttons are focusable.
Mark attendance Edit attendance 

-
Other accessibility issues include the π icon in the search field which is a
spanwith no role, but witharia-label(throws a validation error), and insufficient contrast for absent learners in the count summary at the bottom of Mark attendance and Edit attendance pages.
Since π is purely decorative icon, and the search field has its own
aria-label, let's just remove thearia-labelfrom the icon's span. -
In Chrome on both Windows and Ubuntu there are some weird and unnecessary horizontal scrollbars in all the cells with toggles in Mark attendance and Edit attendance pages, plus a vertical one in the bottom bar. Firefox on Windows displays only the latter, while Firefox on Ubuntu displays none (winner! π)
Firefox Chrome 

-
(low priority) Buttons in the modal are too close and focus outline overlaps.
1 2 

