Avoid duplicate accesskey hints on OOUI widgets
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 22 Jun 2017 19:30:03 +0000 (21:30 +0200)
committerJforrester <jforrester@wikimedia.org>
Tue, 1 Aug 2017 20:59:13 +0000 (20:59 +0000)
commit8c1a1a62a1892be7eb5b5113669bc4e39250271a
treed0495a2f760c69d3918b7e24b0e31346c36a370c
parent58c66f541a1b6e7c985693a016dafa60fa1c1428
Avoid duplicate accesskey hints on OOUI widgets

Values returned by `Linker::tooltipAndAccesskeyAttribs()` and
`Linker::titleAttrib( ..., 'withaccess' )` include an accesskey
hint in the title text. This is unnecessary when used for OOjs UI
widgets, since after the changes from T168408 they display an
accesskey hint automatically.

Also fixed some other accesskey bugs in HTMLForm which probably
no one ever ran into.

Bug: T168408
Change-Id: I63285b5bce3341875a6d82eba059623bf105ca62
includes/EditPage.php
includes/htmlform/HTMLFormField.php
includes/htmlform/OOUIHTMLForm.php
includes/htmlform/fields/HTMLCheckField.php
includes/htmlform/fields/HTMLMultiSelectField.php
includes/htmlform/fields/HTMLTextAreaField.php
includes/htmlform/fields/HTMLTextField.php