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:
WMDE-Fisch 2017-05-20 17:51:13 +02:00
parent 6bd728928c
commit ae96989d0b

View file

@ -112,7 +112,11 @@ class RevisionSliderHooks {
$out->prependHTML(
Html::rawElement(
'div', [ 'class' => 'mw-revslider-container' ],
'div',
[
'class' => 'mw-revslider-container',
'aria-hidden' => 'true'
],
$toggleButton .
Html::rawElement(
'div',