dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cc76ab
)
WebInstaller: Add ARIA `role="main"` to overall div
author
Volker E
<volker.e@wikimedia.org>
Tue, 18 Jun 2019 00:23:13 +0000
(17:23 -0700)
committer
Jforrester
<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
patch
|
blob
|
history
diff --git
a/includes/installer/WebInstallerOutput.php
b/includes/installer/WebInstallerOutput.php
index
b061d0d
..
ad98558
100644
(file)
--- a/
includes/installer/WebInstallerOutput.php
+++ b/
includes/installer/WebInstallerOutput.php
@@
-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>