Set role=button on TOC show/hide checkbox
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 16 Jul 2018 16:30:55 +0000 (18:30 +0200)
committerVolkerE <volker.e@wikimedia.org>
Mon, 16 Jul 2018 18:15:48 +0000 (18:15 +0000)
commit6e09d07b20590e418fb80520c33ad2c23fe93667
tree9b8302cb4e07490408bf3e8e3c806446acc8ba69
parent3c25a52df91930c56f4f9da9b216ebed993022c1
Set role=button on TOC show/hide checkbox

This should give more intuitive hints in assistive technology,
identical (or similar) to the hints for the JavaScript-generated
button we had before 68527cf47935a0350d3f0a153bd06cbb98062ec8.
See results of testing with Windows Narrator/VoiceOver: T195053#4428563.

Bug: T195053
Change-Id: I9358b29f56ac1e43e9c5ed00d30ce6ffdf903299
includes/Linker.php
tests/parser/parserTests.txt