MDL-30921 blocks: Better default aria role given
authorSam Hemelryk <sam@moodle.com>
Mon, 15 Oct 2012 09:02:25 +0000 (17:02 +0800)
committerSam Hemelryk <sam@moodle.com>
Thu, 1 Nov 2012 21:58:23 +0000 (10:58 +1300)
blocks/moodleblock.class.php

index f9af2b8..456df59 100644 (file)
@@ -684,10 +684,6 @@ EOD;
      * a landmark child.
      *
      * Options are as follows:
-     *  - region
-     *    - alert
-     *    - article
-     *    - grid
      *    - landmark
      *      - application
      *      - banner
@@ -697,15 +693,11 @@ EOD;
      *      - main
      *      - navigation
      *      - search
-     *    - list
-     *    - log
-     *    - status
-     *    - tabpanel
      *
      * @return string
      */
     public function get_aria_role() {
-        return 'region';
+        return 'complementary';
     }
 }