mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-61623 accessibility: Use role, not aria-role
This commit is contained in:
parent
33a388eff7
commit
82e8a0ef36
@ -38,7 +38,7 @@
|
||||
data-region="popover-region">
|
||||
<div class="popover-region-toggle nav-link"
|
||||
data-region="popover-region-toggle"
|
||||
aria-role="button"
|
||||
role="button"
|
||||
aria-controls="popover-region-container-{{uniqid}}"
|
||||
aria-haspopup="true"
|
||||
aria-label="{{$togglelabel}}{{#str}}showpopovermenu{{/str}}{{/togglelabel}}"
|
||||
|
@ -422,7 +422,7 @@ foreach($progress as $user) {
|
||||
'data-activityname' => $a->activity,
|
||||
'data-userfullname' => $a->user,
|
||||
'data-completiontracking' => $completiontrackingstring,
|
||||
'aria-role' => 'button'));
|
||||
'role' => 'button'));
|
||||
}
|
||||
print '<td class="completion-progresscell '.$formattedactivities[$activity->id]->datepassedclass.'">'.
|
||||
$celltext . '</td>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user