Skip to content
Browse files

MDL-30921 blocks: Better default aria role given

  • Loading branch information...
1 parent 91d941c commit 5c4581fc08004dd6b12e2bcc64a2b5a5e66aa49f Sam Hemelryk committed Oct 15, 2012
Showing with 1 addition and 9 deletions.
  1. +1 −9 blocks/moodleblock.class.php
View
10 blocks/moodleblock.class.php
@@ -684,10 +684,6 @@ public static function comment_add(&$comments, $options) {
* a landmark child.
*
* Options are as follows:
- * - region
- * - alert
- * - article
- * - grid
* - landmark
* - application
* - banner
@@ -697,15 +693,11 @@ public static function comment_add(&$comments, $options) {
* - main
* - navigation
* - search
- * - list
- * - log
- * - status
- * - tabpanel
*
* @return string
*/
public function get_aria_role() {
- return 'region';
+ return 'complementary';
}
}

0 comments on commit 5c4581f

Please sign in to comment.
Something went wrong with that request. Please try again.