LIT-EIA / adapt-esdc-accessibilityfixes

Extension to load and run a .js file when a course loads
GNU General Public License v3.0
5 stars 2 forks source link

An invisible element gets keyboard focus in the middle of and operation - 2.4.3 Focus order (Level A) #115

Closed MaximPerry closed 3 years ago

MaximPerry commented 3 years ago

Issue: When opening the right-side menu using the keyboard, the first element to get the focus is not the first menu element but an invisible <div class="aria-label">.

How to fix: I personally don't see the utility of having this DIV there. I would advice removing it (thus also removing its functionality) and instead adding the aria-label on the first menu element getting in focus for additional info.

Where: https://esdcadapt.canadacentral.cloudapp.azure.com/preview/5dc446fd27f08836496b6b9e/609bf3f10f1c9f0f267729d3/

image image

Link to issue in ICT DCS: http://esdc.prv/cgi-bin/scdtic-ictdcs/error-view.aspx?eid=126&aid=347

GGD4V commented 3 years ago

When removing this div the focus goes automatically on the first item instead (in this case Glossary)

GGD4V commented 3 years ago

Fixed here https://github.com/MeD-DMC/Adapt-accessibilityfixes/commit/c5c94991faa4a04a5e3fd41a6cfc824f6b3a03da