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

Change viewer meta data lacks contrast

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.9-rc-1
    • 15.8
    • Flamingo Skin
    • Unknown
    • N/A
    • 1.4.3 Contrast (Minimum)

    Description

      This issue was reported by the automated accessibility tests.

      WCAG warnings in the test class [org.xwiki.flamingo.test.docker.AllIT]:
      __________
      Validation in the test method [compareRenderedImageChanges]
      Check for [org.xwiki.test.ui.po.ComparePage] at [http://xwikiweb:8080/xwiki/bin/view/NestedCompareIT/compareRenderedImageChanges/?viewer=changes&rev1=4.1&rev2=5.1&].
      Found [2] items1: Elements must meet minimum color contrast ratio thresholds
      Description: Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds
      Help URL: https://dequeuniversity.com/rules/axe/4.7/color-contrast?application=axeAPI
      Help: Elements must meet minimum color contrast ratio thresholds
      Impact: serious
      Tags: cat.color, wcag2aa, wcag143, ACT, TTv5, TT13.cHTML element: 
          <td class="diff-line diff-line-meta">@@ -1,1 +1,1 @@</td>
      Selector: [.diff-line-meta]
      Fix any of the following:
        Element has insufficient color contrast of 2.27 (foreground color: #a8a8a8, background color: #fafafa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 4.5:1
      

      The meta data to support the presentation of the changes is displayed in light grey. This light grey is too light and does not provide enough contrast on the white background.

      Here is a screenshot of the same issue highlighted in a browser:

      Attachments

        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: