mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 19:49:30 +00:00
Disable the RevisionSlider for screenreaders
Until the sliding mechanism has full support to work with screen- readers the tool will be disabled for them to avoid unnecessary confusion. Bug: T165489 Change-Id: Id0da2c891040ac7e6f1b6ce5ba5f65b727d3cb07
This commit is contained in:
parent
6bd728928c
commit
ae96989d0b
|
@ -112,7 +112,11 @@ class RevisionSliderHooks {
|
||||||
|
|
||||||
$out->prependHTML(
|
$out->prependHTML(
|
||||||
Html::rawElement(
|
Html::rawElement(
|
||||||
'div', [ 'class' => 'mw-revslider-container' ],
|
'div',
|
||||||
|
[
|
||||||
|
'class' => 'mw-revslider-container',
|
||||||
|
'aria-hidden' => 'true'
|
||||||
|
],
|
||||||
$toggleButton .
|
$toggleButton .
|
||||||
Html::rawElement(
|
Html::rawElement(
|
||||||
'div',
|
'div',
|
||||||
|
|
Loading…
Reference in a new issue