- Status changed to Needs review
almost 2 years ago 11:10pm 29 January 2023 - First commit to issue fork.
- Status changed to Needs work
almost 2 years ago 5:39pm 18 February 2023 - πΊπΈUnited States smustgrave
- πΊπΈUnited States smustgrave
Or what if this was gloabl theme setting that users could opt in and out of?
Then maybe can write some upgrade path for sites to choose to disable or not?
- last update
over 1 year ago 30,355 pass - π³π΄Norway steinmb
Reviewing form API and found #2203649: Remaining Open Form API related Accessibility Issues β that took me here. This issue looks like it stalled, anything people can do to move it forward?
- Merge request !7452Issue #1797438. HTML5 validation is preventing form submit and not fully... β (Closed) created by SKAUGHT
- Status changed to Needs review
8 months ago 2:03pm 11 April 2024 - π¨π¦Canada SKAUGHT
- moves #200 into gitlab.
- #202 fail is not happening now! - Status changed to Needs work
8 months ago 2:06pm 11 April 2024 The Needs Review Queue Bot β tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request β . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
- Status changed to Needs review
8 months ago 2:20pm 11 April 2024 - Status changed to Needs work
8 months ago 2:48pm 11 April 2024 The Needs Review Queue Bot β tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- π«π·France nod_ Lille
The 11.x branch from the issue fork seems wildly out of date, need someone to merge origin/11.x into this branch
- Merge request !7458Issue #1797438. HTML5 validation is preventing form submit and not fully accessible. β (Open) created by SKAUGHT
- Status changed to Needs review
8 months ago 4:34pm 11 April 2024 - π¨π¦Canada SKAUGHT
I did pick up from that branch started a year ago. I was actually getting some gitlab errors trying to start a new branch a few hours ago. that is now fine and have started from it.
- π¨π¦Canada SKAUGHT
Proposed resolution
The accessibility team's goal for form validation is #1493324: Inline form errors for accessibility and UX. HTML5 best practices are:
- Javascript validation first
- HTML5 validation for no-Javascript
- Server-side validationRemaining tasks
Confirm the approach ...
The Contact Form is a simple public example where this approach hurts first. Not that this equals issue title severity.
Then, into node forms examples where we this effects deepens. (ie: details elements , vertical tabs (with details).., entity references with Inline entity forms).
- π³π΄Norway steinmb
Found note on order reading up on π HTML5 validation is preventing form submit and not fully accessible Needs work
- Javascript validation first
- HTML5 validation for no-Javascript
- Server-side validation
- π¨π¦Canada SKAUGHT
circular dependency. omg yes. cheers.
More than just NOT NULL:
I think the goal of 'using javascript' was meant to be that 'patterns' for inputs would be able to 'store all the form or entity validation' to. which we know can be complex (multiple Constraints, validation/form alters afterbuilds, etc.). Which Drupal forms (still) can not provide to pattern attribute (to just regex..).the goal was to use 'front end js validation before submit'. Thus, a much shorter path with forms being 'ajax first'.
i understand that in the early d8 timeline with [IFE NESTED errors] Containers, details/fieldsets had been completely rebuilt and had more bugs around IFE (while it was still experimental in core in D8). needs clarification for this, of course.
- Status changed to Needs work
8 months ago 4:53pm 19 April 2024 - πΊπΈUnited States smustgrave
Looking at the issue summary and the MR they don't appear to match. Also not entirely sure the test changes counts as checking the issue.
Moving to NW for that and the CR (if still needed)
- πΊπΈUnited States mmunjeti
mmunjeti β changed the visibility of the branch 1797438-html5-validation-is to active.
- πΊπΈUnited States mmunjeti
mmunjeti β changed the visibility of the branch 1797438-html5-validation-is to hidden.
- π©πͺGermany Anybody Porta Westfalica
Now that π Ensure visibility of invalid fields (JS) RTBC is fixed, please check if this issue still appears and if changes are needed here. I'm reducing priority as I think it might be fixed or mitigated by π Ensure visibility of invalid fields (JS) RTBC
- π©πͺGermany Anybody Porta Westfalica
Sorry I glitched into the wrong issue, though I was in field_group... The title was nearly the same.