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

Language select default option does not have enough contrast

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.10.1
    • 15.9
    • Flamingo Skin
    • Unknown
    • N/A
    • N/A
    • 1.4.3 Contrast (Minimum)

    Description

       

      When editing a page on a multilingual wiki, the language selection default option uses the default color from bootstrap, which is a `#999` and does not have enough contrast on white. This color should be darker.

      Here is the report from the automated accessibility test:

      Validation in the test method [translateDocument]
      Check for [org.xwiki.test.ui.po.editor.WikiEditPage] at [http://xwikiweb:8080/xwiki/bin/edit/NestedEditTranslationIT/translateDocument/WebHome?editor=wiki&language=].
      Found [1] 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.8/color-contrast?application=axeAPI
      Help: Elements must meet minimum color contrast ratio thresholds
      Impact: serious
      Tags: cat.color, wcag2aa, wcag143, TTv5, TT13.c, EN-301-549, EN-9.1.4.3, ACTHTML element: 
          <div class="filter-option-inner-inner">None</div>
      Selector: [.filter-option-inner-inner]
      Fix any of the following:
        Element has insufficient color contrast of 2.84 (foreground color: #999999, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1
      

      This fail is reportedf when conducting the flamingo docker tests.

       

      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: