This planning issue shows all followups from #1493324: Inline form errors for accessibility and UX.
The parent issue is a huge UX improvement, but it leaves the error handling with some inconsistencies and annoyances.
The followups have been split up in Major and Minor issues, but these do not block #1493324: Inline form errors for accessibility and UX from being committed.
Major Issues
"must-have" (major)
- #2346773: Details form element should open when there are errors on child elements
- #2457373: Inline form error links should bring form element title, form element and the error in view.
- Links to a CKeditor don't work because the original field is hidden
- All fields should have titles to be able to show error links / Title finding logic should also search for titles of parent elements. Related to: #933004: Test that all form elements have a title for accessibility
- #2455933: Handle error fields without a message -> #2514730: When adding dependent field error messages, message should contain link to dependent field What to do with form element errors without a message.
- Label "for" attribute and inline error link hash are wrong after a failed AJAX file upload.
- #2482783: file_save_upload() needs $form_state in order to be able to set errors correctly Fix inline-errors on image/file upload fields.
The following major issues result in visual inconsistencies as noted here: #1493324-578: Inline form errors for accessibility and UX
- #1797438: HTML5 validation is not fully accessible
- AJAXified fields should use inline-errors only. See: #2687249: AJAXified fields should use inline-errors only Consequently the message at the top page needs to be updated if there are errors in the AJAXified field, related: #77245: A place for JavaScript status messages
Minor Issues
"nice to have" normal/minor
- Better style errors on fieldsets.
- Better style errors on radio / checkbox (groups).
- Discussion: UX improvement: Place inline errors before the field and after the label.
- #2501903: inline form errors classnames to follow namestandard cleaning the classnames
- Radios / Checkboxes focus styling wrong when marked as having an error. See: #2687251: Radios / Checkboxes focus styling wrong when marked as having an error