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

Rename page error lacks contrast

    XMLWordPrintable

Details

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

    Description

      Note that there is no color theme during WCAG tests.

      WCAG warnings in the test class [org.xwiki.flamingo.test.docker.AllIT]:
      Validation in the test method [renamePageUsedInMacroContentAndParameters]
      Check for [org.xwiki.test.ui.po.ViewPage] at http://xwikiweb:8080/xwiki/bin/view/NestedRenamePageIT/renamePageUsedInMacroContentAndParameters/.
      Found [2] 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:
      <a href="/xwiki/bin/view/RenamePageIT/NestedMacroLink/">type the link label</a>
      Selector: [.errormessage > p > .wikilink > a]
      Fix any of the following:
      Element has insufficient color contrast of 4.07 (foreground color: #2f70a7, background color: #f2dede, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1

      Attachments

        1. 20986-themeLessBefore.png
          240 kB
          Charpentier Lucas
        2. 20986-ViewBefore.png
          238 kB
          Charpentier Lucas

        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: