mediawiki-skins-Vector/includes
bwang 9e665f9034 Handle accessible labels differently for dropdown and portal menus
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
2022-05-12 22:11:22 +00:00
..
FeatureManagement Drop the LatestSkinVersionRequirement 2022-04-04 19:22:38 +00:00
ResourceLoader Do not load common.js twice 2022-01-25 20:10:31 +00:00
Services search: Disable query highlight for some languages 2021-06-30 16:47:46 +01:00
templates Handle accessible labels differently for dropdown and portal menus 2022-05-12 22:11:22 +00:00
Constants.php Create feature flag for VectorTitleAboveTabs feature 2022-05-10 12:53:31 -04:00
Hooks.php Updates for core temp user autocreation feature 2022-04-28 20:32:53 +00:00
ServiceWiring.php Create feature flag for VectorTitleAboveTabs feature 2022-05-10 12:53:31 -04:00
SkinVector.php Handle accessible labels differently for dropdown and portal menus 2022-05-12 22:11:22 +00:00
SkinVector22.php Create feature flag for VectorTitleAboveTabs feature 2022-05-10 12:53:31 -04:00
SkinVectorLegacy.php Drop the LatestSkinVersionRequirement 2022-04-04 19:22:38 +00:00
VectorServices.php Drop the Vector.Config service 2022-04-07 04:30:20 +00:00