Handle $title === null in Title::newFromText
[lhc/web/wiklou.git] / includes / Linker.php
index 3f0ecf6..f160fd6 100644 (file)
@@ -1564,6 +1564,7 @@ class Linker {
                return '<div id="toc" class="toc">'
                        . Html::element( 'input', [
                                'type' => 'checkbox',
+                               'role' => 'button',
                                'id' => 'toctogglecheckbox',
                                'class' => 'toctogglecheckbox',
                                'style' => 'display:none',