Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73430

JAWS screen reader does not properly indicate invalid field when using web form portlet

    Details

      Description

      DESCRIPTION
      When a field is invalid, the attribute: aria-invalid, can be used to let screen readers know that a field is considered invalid.

      For this issue, the aria-invalid attribute is set properly during validation, when the form is attempted to be submitted.

      But, the aria-invalid attribute is not set properly after a user interacts with the field, due to the current behavior of onblur validation.

      STEPS TO REPRODUCE

      1. Install JAWS screen reader
      2. Attempt to send a form with a name, but no content through the Web Form portlet.
      3. The form shows "This field is mandatory." above the "Comments" field
      4. Click on the "Comments" field to gain focus
        • Notice that the JAWS screen reader notifies the user that the field is invalid
      5. Click out of the "Comments" field to lose focus
      6. Click on the "Comments" field again to gain focus

      EXPECTED RESULTS
      JAWS screen reader notifies the user that the field is invalid
      ACTUAL RESULTS
      JAWS screen reader does not notify the user that the field is invalid

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 15 weeks ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.X EE
                  7.1.X
                  Master