Page MenuHomePhabricator

Special:Renameuser Missing id on input fields to comply with WCAG
Closed, ResolvedPublic

Description

On Special:Renameuser, the form fields don't have an id attribute. Therefore, screen readers do not announce the label for each field.

<input name="oldusername" size="20" value="tstuser" type="text" tabindex="1" class="mw-ui-input">

Should have id:

<input name="oldusername" id='"oldusername" size="20" value="tstuser" type="text" tabindex="1" class="mw-ui-input">

Event Timeline

Change 967298 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/core@master] Convert Special:RenameUser to OOUI htmlform

https://gerrit.wikimedia.org/r/967298

Screenshot 2023-10-19 at 22.29.44.png (1×1 px, 128 KB)

or without the fieldset thing

Screenshot 2023-10-19 at 22.36.04.png (1×1 px, 105 KB)

Decided to convert it to htmlform. While doing that also wanted to convert to FormSpecialPage T100263, but decided to do that in a follow up patch, to simplify review

@TheDJ Let's go without the wrapper here. (Edited 2023-10-24; reason is we already have the same output for the fieldset wrapper in the header)

Volker_E renamed this task from WCAG: Missing id on input fields to Special:Renameuser Missing id on input fields to comply with WCAG.Oct 23 2023, 5:28 AM
Volker_E updated the task description. (Show Details)

Change 967298 merged by jenkins-bot:

[mediawiki/core@master] Convert Special:RenameUser to OOUI htmlform

https://gerrit.wikimedia.org/r/967298

TheDJ claimed this task.