I tried fixing the issue noted in T410845#11417887. This did not get rid of the warning in Firefox's accessibility inspector, nor did it work in practice with a screen reader: the label is associated with the wrapper element of the select and the input, instead of individually with each of them.
Description
Details
Related Objects
Event Timeline
Change #1214634 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[oojs/ui@master] TabIndexedElement: Provide a default setLabelledBy() method
Change #1214635 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/core@master] SelectWithInputWidget: Improve 'aria-labelledby' attributes
Test wiki created on Patch demo by Matma Rex using patch(es) linked to this task:
https://patchdemo.wmcloud.org/wikis/0f6a7b20b9/wiki/Special:UserLogin?returnto=Special:UserRights/Patch Demo
Also created an OOUI Demos page:
https://patchdemo.wmcloud.org/wikis/0f6a7b20b9/w/build/ooui/demos
Change #1214634 merged by jenkins-bot:
[oojs/ui@master] TabIndexedElement: Provide a default setLabelledBy() method
Change #1219646 had a related patch set uploaded (by VolkerE; author: VolkerE):
[mediawiki/core@master] Update OOUI to v0.53.1
Change #1219646 merged by jenkins-bot:
[mediawiki/core@master] Update OOUI to v0.53.1
Change #1214635 merged by jenkins-bot:
[mediawiki/core@master] SelectWithInputWidget: Improve 'aria-labelledby' attributes
Test wiki on Patch demo by Matma Rex using patch(es) linked to this task was deleted: