Author: le.korrigan
Description:
Following recommendations by fr:User:Lgd, there would be some improvements which could be done on the search form to improve its accessibility, according to W3C's WCAG norms. It is a particularly important page, and even more for people with special needs. These are:
- for each field, having a label element with attribute containing the id of the field.
- if showing a label is not ergonomic, use the title attribute of the field itself to indicate its use.
- Use title elements to structure the page: h2 for mw-search-numberresults, h2 on the "Advanced search", h2 for the "Sister projects".
- correct the use of elements fieldset and legend: the legend of fieldset should be "Namespace" in order to complement the labels of the tickboxes.
- add a "title" attribute on the links which allow selecting how many results per page should be shown to make them more explicit outside of their context, such as title="show 20 results", title="show 50 results", etc.
- add a title attribute on the links "more" in the "Sister projects" section, to make them more explicit outside of their context.
- Use ol elements and not ul to list results.
Hope it all makes sense!
Thanks.
Version: 1.14.x
Severity: enhancement