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

Close button should be accessible via aria-label and have a localized value

    Details

      Description

      Description

      Elements of type <button> whose class attribute has value "close" should have a descriptive and localized aria label. See https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html.

      Example cases

      To check localization test in a locale other than English. For example, in the case of Spanish, the value of the attribute aria-label should be "Cerrar".

      Warning and alert of session timeout

      1. Wait for session to expire
      2. When the notification (warning that expiration is close, or that session has expired) inspect the close button, that is, the "x".
        Expected: The value of the aria-label attribute is "Cerrar".

      Export/Import

      1. Create a new web content
      2. In the 3-dot menu in the upper right corner, click on Export/Import
      3. Filter by Date Range and select and End Date that is earlier than the Start Date to produce an error message.
      4. Try to export to obtain the error: "End date should be greater than start date" and inspect the close button, that is, the "x".
        Expected: The value of the aria-label attribute is "Cerrar".

        Attachments

          Activity

            People

            • Assignee:
              summer.zhang Summer Zhang
              Reporter:
              ricardo.couso Ricardo Couso
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP66
                7.0.X
                7.1.10 DXP FP5
                7.1.10.1 SP1
                7.1.2 CE GA3
                7.1.X
                Master