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

Alt Text Not Present for Taglib input-localized

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.X EE, Master
    • Fix Version/s: 7.1.X, Master
    • Component/s: Accessibility
    • Labels:
      None

      Description

      The img tags for the different language flags that appear below a liferay-ui:input-localized field do not have an alt attribute. This makes the liferay-ui:input-localized not accessible for screen readers.

      Steps to Reproduce:
      1. Deploy test portlet
      2. Add test portlet to the page
      3. Open Developer Tools in the Browser and inspect one of the flags.
      4. Find the img tag for the flag.
      Expected Behavior: The img tag should have an alt attribute that describes the contents of the image.
      Actual Behavior: There is no alt attribute.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                linda.sui Linda Sui
                Reporter:
                gregory.bretall Gregory Bretall (Inactive)
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 24 weeks, 4 days ago

                  Packages

                  Version Package
                  7.1.X
                  Master