WebInstaller: Add ARIA `role="main"` to overall div
authorVolker E <volker.e@wikimedia.org>
Tue, 18 Jun 2019 00:23:13 +0000 (17:23 -0700)
committerJforrester <jforrester@wikimedia.org>
Tue, 18 Jun 2019 15:46:17 +0000 (15:46 +0000)
Adding ARIA `main` role on appropriate element to keep in sync with
WMF deployed themes.

Change-Id: I9436fd4478e2b108a7ec588db0a628d7d5c26fcd

includes/installer/WebInstallerOutput.php

index b061d0d..ad98558 100644 (file)
@@ -285,7 +285,7 @@ class WebInstallerOutput {
 <?php echo Html::openElement( 'body', [ 'class' => $this->getLanguage()->getDir() ] ) . "\n"; ?>
 <div id="mw-page-base"></div>
 <div id="mw-head-base"></div>
-<div id="content" class="mw-body">
+<div id="content" class="mw-body" role="main">
 <div id="bodyContent" class="mw-body-content">
 
 <h1><?php $this->outputTitle(); ?></h1>