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

Edit autosave frequency contrast issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.5-rc-1
    • 15.2
    • Edit
    • Easy
    • N/A
    • Pull Request accepted
    • 1.4.3 Contrast (Minimum)

    Description

      WCAG warnings in the test class [org.xwiki.administration.test.ui.AllITs]:
      __________
      Validation in the test method [createPagesFromTemplate]
      Check for [org.xwiki.test.ui.po.editor.EditPage] at http://xwikiweb:8080/xwiki/bin/edit/NestedPageTemplatesIT/createPagesFromTemplate/TestTemplateInstance/WebHome?template=NestedPageTemplatesIT.createPagesFromTemplate.TestTemplate&parent=NestedPageTemplatesIT.createPagesFromTemplate.TestTemplateProvider&title=TestTemplateInstance&form_token=VJJEvajnPexyqoSxcoXyQQ.

      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: 
          <label class="frequency" style="opacity: 0.2;">every <input type="text" value="5" size="2" class="autosave-frequency"> <span>minutes</span></label>
      Selector: [.frequency]
      Fix any of the following:
        Element has insufficient color contrast of 1.43 (foreground color: #cdcdcd, background color: #f3f3f3, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1

      HTML element: 
          <input type="text" value="5" size="2" class="autosave-frequency">
      Selector: [.autosave-frequency]
      Fix any of the following:
        Element has insufficient color contrast of 1.35 (foreground color: #dddddd, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1

      HTML element: 
          <span>minutes</span>
      Selector: [.frequency > span]
      Fix any of the following:
        Element has insufficient color contrast of 1.43 (foreground color: #cdcdcd, background color: #f3f3f3, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1

      Very light grey on a white background, probably because of low opacity.

      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: