diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 5813af88c1504..e2139bb09c5e4 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -492,7 +492,13 @@ public function standard_footer_html() { * @return string HTML fragment. */ public function main_content() { - return $this->unique_main_content_token; + // This is here because it is the only place we can inject the "main" role over the entire main content area + // without requiring all theme's to manually do it, and without creating yet another thing people need to + // remember in the theme. + // This is an unfortunate hack. DO NO EVER add anything more here. + // DO NOT add classes. + // DO NOT add an id. + return '