Bug #1
The current implementation of the InputBox extension doesn't provide an avenue to add aria-label attribute to the inputbox. This causes the text input box control generated by the extension to accessibility tests. The aim of this task is to address this identified issue and make the extension fully accessible to screen readers and all other electronic visual aiding devices.
<inputbox> type=search2 width=120 buttonlabel=Search **arialabel=Search this wiki** </inputbox>
Steps to Reproduce
- Download the Accessibility insights for web extension.
- Navigate to the Edit Source page
- Click on the Accessibility insights tool icon, you can find the icon beside the navigation bar
- Click Fastpass
Bug #2
When inputbox has a placeholder attribute, the placeholder is ignored when type of inputbox is search2.
Steps to Reproduce
<inputbox> type=search2 width=120 buttonlabel=Search **placeholder=Search this wiki** </inputbox>
Expected
**<input type="text" name="search" class="mw-ui-input mw-ui-input-inline" size="120" placeholder="Search this wiki" id="bodySearchInput0.886943992064" dir="ltr">**
Actual
<input type="text" name="search" class="mw-ui-input mw-ui-input-inline" size="100" id="bodySearchInput0.287970723021" dir="ltr">