Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.4
-
MOODLE_34_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
wip-
MDL-61127-master -
Description
According to an audit made over Accessibility, violations exist over filepicker as follows:
Affected modules: Submit Assignment
- Ensure color is not the sole means of communicating information
In the dialog which appears after "Upload a File" is chosen, the pills ("Server Files/Private Files/...") do not show which is highlighted, though the active image has a css class of "active" assigned.
<div class="fp-repo nav-item first odd" id="fp-repo-59a6d1bd2e9a8-1"> |
<a href="#" class="nav-link" id=""> |
<img class="fp-repo-icon" alt=" " src="https://accessibility-sandbox.mrooms.net/theme/image.php/snap/repository_local/1502266427/icon" width="16" height="16"> <span class="fp-repo-name">Server files</span></a> |
</div>
|
...
|
<div class="fp-repo nav-item odd active" id="fp-repo-59a6d1bd2e9a8-3"> |
<a href="#" class="nav-link" id=""> |
<img class="fp-repo-icon" alt=" " src="https://accessibility-sandbox.mrooms.net/theme/image.php/snap/repository_upload/1502266427/icon" width="16" height="16"> <span class="fp-repo-name">Upload a file</span></a> |
</div>
|
...
|
</div>
|
Provide the active link off-screen text indicating that it is active.
<img class="fp-repo-icon" alt=" " src="https://accessibility-sandbox.mrooms.net/theme/image.php/snap/repository_local/1502266427/icon" width="16" height="16"> <span class="fp-repo-name">Server files</span></a> |
</div>
|
...
|
<div class="fp-repo nav-item odd active" id="fp-repo-59a6d1bd2e9a8-3"> |
<a href="#" class="nav-link" id=""> |
<img class="fp-repo-icon" alt=" " src="https://accessibility-sandbox.mrooms.net/theme/image.php/snap/repository_upload/1502266427/icon" width="16" height="16"> <span class="fp-repo-name">Upload a file<span class="sr-only"> - Active</span></span></a> |
</div>
|
...
|
</div>
|
|
|