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

SVG icons need title child element for accessibility

    Details

      Description

      Accessibility guidelines required that SVG graphics have a <title></title> child element that explains its meaning. The icon taglib(s) that produce SVGs should at least add the icon label within a child title element.

      https://www.w3.org/TR/SVG/access.html

      Steps
      1. Navigate browser to a Liferay page with the Documents and Media portlet
      2. Inspect an icon element on the portlet
      3. Look for title child element within the svg icon element

      Expected: A title element exists that explains the meaning of the icon
      Result: No title element exists that explains the meaning of the icon

        Attachments

        1. master failed.png
          master failed.png
          83 kB
        2. master pass.png
          master pass.png
          17 kB
        3. title.png
          title.png
          443 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 46 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP33
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  7.1.X
                  Master