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

Accessibility color-contrast violations in personal menu

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce

      1. Go to any of the item in personal menu via keyboard
      2. Check the aXe "Accessibility testing in Chrome Developer Tools" to the Chrome browser

      NOTE Found the issue while running the POSHI test added in LRQA-66119.
      Expect Result
      No accessibility violations.

      Actual Result
      Got accessibility color-contrast violations like follwoing

           [exec]     BUILD FAILED: Found 1 accessibility violations:
           [exec]     1) Elements must have sufficient color contrast: https://dequeuniversity.com/rules/axe/1.1/color-contrast
           [exec]       a) ["#portlet_com_liferay_site_my_sites_web_portlet_MySitesPortlet > .portlet-topper > .portlet-title-default > .portlet-name-text"]
           [exec]         Fix any of the following:
           [exec]           Element has insufficient color contrast of 1.00 (foreground color: #ffffff, background color: #ffffff, font size: 10.5pt, font weight: bold)
           [exec]
           [exec]
           [exec]     L:\Github\master\portal-web\test\functional\com\liferay\portalweb\tests\coreinfrastructure\administration\users\personalmenu\Personalmenu.testcase[ViewUserIconIsAccessibleViaKeyboard]:446
           [exec]
           [exec]
           [exec] com.liferay.poshi.runner.PoshiRunner > test[LocalFile.Personalmenu#ViewUserIconIsAccessibleViaKeyboard] STANDARD_ERROR
           [exec]     java.lang.Exception: Found 1 accessibility violations:
           [exec]     1) Elements must have sufficient color contrast: https://dequeuniversity.com/rules/axe/1.1/color-contrast
           [exec]       a) ["#portlet_com_liferay_site_my_sites_web_portlet_MySitesPortlet > .portlet-topper > .portlet-title-default > .portlet-name-text"]
           [exec]         Fix any of the following:
           [exec]           Element has insufficient color contrast of 1.00 (foreground color: #ffffff, background color: #ffffff, font size: 10.5pt, font weight: bold)
           [exec]
           [exec]
           [exec]             at com.liferay.poshi.runner.selenium.BaseWebDriverImpl.assertAccessible(BaseWebDriverImpl.java:225)
           [exec]             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]             at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]             at com.liferay.poshi.runner.PoshiRunnerExecutor$1.call(PoshiRunnerExecutor.java:1192)
           [exec]             at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec]             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           [exec]             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           [exec]             at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            sharry.shi Sharry Shi
            Participants of an Issue:
            Recent user:
            Patricia Perez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              5 weeks, 2 days ago

                Packages

                Version Package