mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 01:09:20 +00:00
9e665f9034
An issue was found in QA where certain browser/screenreader combos could not read `aria-labelledby`+`aria-label`. Instead, we avoid using `aria-labelledby` and the `label` element entirely and apply the accessible label directly to the `input`. This great simplifies our labelling and improves screenreader support, while also allowing us to hide the `label` element to reduce verbosity. Because the `label` element is used differently in the portal menu, we use the `is-portal` variable to maintain the old markup for portal menus Bug: T301051 Change-Id: I5a0f7d5d78838fabe561095b33176e7162b31aea |
||
---|---|---|
.. | ||
FeatureManagement | ||
ResourceLoader | ||
Services | ||
templates | ||
Constants.php | ||
Hooks.php | ||
ServiceWiring.php | ||
SkinVector.php | ||
SkinVector22.php | ||
SkinVectorLegacy.php | ||
VectorServices.php |