Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20982

Drawer elements in the color theme editor lack contrast

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 15.7-rc-1
    • 15.4
    • Flamingo Theme
    • Medium
    • N/A
    • N/A
    • 1.4.3 Contrast (Minimum)

    Description

      The elements in the drawer in the iframe on the tests lack contrast:

      WCAG warnings in the test class [org.xwiki.flamingo.test.ui.FlamingoThemeIT]:
      Validation in the test method [validateColorThemeFeatures]
      Check for [org.xwiki.test.ui.po.ViewPage] at http://xwikiweb:8080/xwiki/bin/view/FlamingoThemes/validateColorThemeFeatures.
      Found [3] items

      1: Elements must have sufficient color contrast
      Description: Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds
      Help URL: https://dequeuniversity.com/rules/axe/4.6/color-contrast?application=axeAPI
      Help: Elements must have sufficient color contrast
      Impact: serious
      Tags: cat.color, wcag2aa, wcag143, ACT

      HTML element:
      <li class="drawer-category-header"><hr class="hidden">Home</li>
      Selector: iframe, .drawer-category-header
      Fix any of the following:
      Element has insufficient color contrast of 1.43 (foreground color: #4d4d4d, background color: #cc0000, font size: 12.6pt (16.8px), font weight: normal). Expected contrast ratio of 4.5:1

      HTML element:
      <span class="drawer-menu-item-text">Administer Wiki</span>
      Selector: iframe, #tmAdminWiki > .drawer-menu-item-text
      Fix any of the following:
      Element has insufficient color contrast of 3.15 (foreground color: #333333, background color: #ff0000, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1

      Two types of contrast violations happen (see above).

      Attachments

        Issue Links

          Activity

            People

              Lucas C Charpentier Lucas
              Lucas C Charpentier Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: