Problem/Motivation

The onSubmit handler in accessible_form_validation.js prevents form submission when validation fails, but only searches for input:invalid when setting focus to the first invalid element.

Steps to reproduce

1. Create a content type with a required plain textarea field (no CKEditor)
2. Edit a node of that type and leave the textarea empty
3. Click Save

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

antonio nunez created an issue. See original summary.

antonio nunez’s picture

Status: Active » Fixed

The fix for the mentioned issue has been implemented and validated by another maintainer.

The issue is now resolved.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.