Skip to content

Commit

Permalink
MDL-61623 accessibility: Use role, not aria-role
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Jan 29, 2019
1 parent 33a388e commit 82e8a0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/templates/popover_region.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand Down
2 changes: 1 addition & 1 deletion report/progress/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ function csv_quote($value) {
'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>';
Expand Down

0 comments on commit 82e8a0e

Please sign in to comment.