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

Accessibility errors caused by the generation of content from style sheets

    Details

      Description

      Description: If you use this tool (OAW, owned by the Government of Spain) to verify the validity of a website (more about this tool on LPS-133314), the tool complains about the addition of content from CSS files using by using the 'content' property.

      From an accessibility point of view, this is not recommended as this content is not accessible for screen readers tools (see link). We need to eliminate this style and redo this functionality by adding these contents from JavaScript code.

      Steps to reproduce (7.0)

      • Start a new bundle
      • Check for rules containing content: attr(data-placeholder) in /o/frontend-css-web/main.css

       Actual result

      There is one rule like that. The OAW tool complains about it.

       Expected result

      There are no rules like that. The OAW tool does not complain about it.

      • Check for rules containing content: 'Alt+0'; (default) or content: 'Option+0'; (mac) in /o/classic-theme/css/main.css

       Actual result

      There is one rule like that. The OAW tool complains about it.

       Expected result

      There are no rules like that. The OAW tool does not complain about it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              jose.bango Jose L. Bango
              Participants of an Issue:
              Recent user:
              Daniel Mijarra García
              Engineering Assignee:
              Georgel Vasile Pop
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                27 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.X
                  7.1.X
                  7.2.10 DXP FP17
                  7.2.10.6 DXP SP6
                  7.2.X
                  7.3.X
                  7.4.3.5 CE GA5
                  7.4.13 DXP U1
                  Master