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

WCAG error for missing label association with input fields in Liferay Forms

    Details

      Description

      teps to reproduce:

      1.  Login as admin
      2.  Go to Content & Data → Forms and create a form
      3.  Add a text and a date_picker field
      4.  Go to the forms page and use WAVE or another accessibility checker to see the missing form labels.

      Expected Behavior:
      The created fields are passing the validation

      Actual Behavior:
      The created input fields are missing the 'aria-labelledby' attribute what causes the error in the WCAG test.

      Reproduced on dxp-12-7210
      Reproduced on 7.2.x-private @ 13129985f6a0af1e7e48b73c2a22f9439b753c36105fb78395395b8888b69716
      Reproduced on master-private @ 14f4b1a2a7fca1ba733edef19c27ea6f86a9f98b8b9cc923db8d5c389a0542c6

        Attachments

          Activity

            People

            Assignee:
            chao.wang Chao Wang
            Reporter:
            norbert.nemeth Norbert Németh
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Engineering Assignee:
            Norbert Németh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              17 weeks, 5 days ago

                Packages

                Version Package
                7.2.10 DXP FP14
                7.2.10.5 DXP SP5
                7.2.X
                7.3.7 CE GA8
                7.3.10 DXP FP2
                7.3.X
                7.4.1 CE GA2 DXP 7,4
                Master