Create project > Required fields
Impaired users should be supported in avoiding errors during operation. Therefore, labels must contain input notes such as mandatory field labels or information about the input format.
Required form elements are not marked, so that they are not recognizable for all users. This poses a problem especially for blind and visually impaired users, as they can only perceive a small part of the screen at a time and therefore cannot easily determine mandatory fields from the context.
required fields are not (example: create project)
Solution
- Add
required="required"
andaria-required="true"
to app/views/projects/_new_project_fields.html.haml#L11 - Add
aria-required="true"
to app/views/projects/_new_project_fields.html.haml#L36 - Add
required="required"
andaria-required="true"
to app/views/import/shared/_new_project_form.html.haml#L4 - Add
aria-required="true"
to app/views/import/shared/_new_project_form.html.haml#L21
- Optionally, migrate form to use Pajamas using a single column
Edited by Peter Hegman