widget: Fix changes of copyright year
[lhc/web/wiklou.git] / includes / ListToggle.php
index 4733dfb..7a5fd9a 100644 (file)
@@ -41,7 +41,8 @@ class ListToggle {
 
        private function checkboxLink( $checkboxType ) {
                return Html::element(
-                       'a', [ 'href' => '#', 'class' => 'mw-checkbox-' . $checkboxType ],
+                       // CSS classes: mw-checkbox-all, mw-checkbox-none, mw-checkbox-invert
+                       'a', [ 'class' => 'mw-checkbox-' . $checkboxType, 'role' => 'button', 'tabindex' => 0 ],
                        $this->output->msg( 'checkbox-' . $checkboxType )->text()
                );
        }