From 5c4581fc08004dd6b12e2bcc64a2b5a5e66aa49f Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Mon, 15 Oct 2012 17:02:25 +0800 Subject: [PATCH] MDL-30921 blocks: Better default aria role given --- blocks/moodleblock.class.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index f9af2b86797..456df591230 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -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'; } }