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

Accessibility issues on form field errors and help text

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Forms
    • Labels:
    • Fix Priority:
      2
    • Sprint:
      Forms_7.4_20

      Description

      Steps to reproduce:

      1. Login as Admin
      2. Go to Content & Data → Forms
      3. Create a new form with field (e.g. text)
      4. In the field's basic settings, add a Help Text
      5. In it's advanced settings, turn on Validation and add an Error message
      6. Publish the Forms and open it
      7. Open Developer Tools and inspect the Help Text and the Error message

      Actual behavior:

      The error message and help text are not correctly linked to the field, which causes an accessibility issue for people using assistive technology

      Expected behavior:

      The field element should define an aria-describedby attribute with the ID of the help text element, and an aria-errormessage attribute with the ID of the error message element.

      Master: a1e5c56c86ae444b103d2560b3df37a53b86ac55

        Attachments

          Activity

            People

            Assignee:
            aline.cantarelli Aline Cantarelli
            Reporter:
            aline.cantarelli Aline Cantarelli
            Participants of an Issue:
            Recent user:
            Aline Cantarelli
            Engineering Assignee:
            Aline Cantarelli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 weeks, 4 days ago

                Packages

                Version Package