Fix tooltip accessibility for screen readers
authorDavid Sn <divad.nnamtdeis@gmail.com>
Sat, 16 Dec 2017 01:39:35 +0000 (01:39 +0000)
committerDavid Sn <divad.nnamtdeis@gmail.com>
Sat, 16 Dec 2017 14:43:30 +0000 (15:43 +0100)
commitcb401293c5fac3ab94a6909c9928fbea62ccad6b
tree5e4d202a8409ed218349986c0ba2d68485ac8111
parentec9e690f171a29f69052102bf4d6a86d77d628c8
Fix tooltip accessibility for screen readers

By adding an additional aria-label attribute to the tooltip,
we can ensure that every tooltip will be accessible
for accessibility tools like screen readers.

Works with Echo extension, but I am not sure if there
are extensions who are using the original-title attribute.

Tested with ChromeVox on Chrome 62.0.3202.94.

Bug: T54711
Change-Id: I19500c4e8ccbdcb8288b9c2299a29b3f8a31639d
includes/htmlform/fields/HTMLCheckMatrix.php