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

Adjust the presence of <form> elements without a submit button

    Details

      Description

      Context:
      In Liferay's code, there are <form> elements without a submit button. These elements are empty and seems to be used to send information to the backend component via Javascript.

      <form action="#" id="hrefFm" method="post" name="hrefFm"><span></span></form>
      

      According to the WCAG 2.0 success criterion 3.2.2:
      "The intent of this Success Criterion is to ensure that entering data or selecting a form control has predictable effects. Changing the setting of any user interface component is changing some aspect in the control that will persist when the user is no longer interacting with it."

      Actual behavior:
      Liferay DXP, right now, doesn't comply with this SC.

      Expected behavior:
      Implementing this solution in the previous form to make DXP more accessible.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 14 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP82
                7.0.X
                7.1.10 DXP FP12
                7.1.X
                Master