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

Underline inline links on the doc renaming page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 16.4.0
    • Flamingo Skin
    • Unknown
    • 1.4.3 Contrast (Minimum)

    Description

      Highlighted by automated WCAG tests.
      Two links in the page rename form are not highlighted while inline (wiht the proper option). This causes some link-contrast violations being reported.

      Example of automated report:

      ```
      Validation in the test method [renamePageWithUsedClass]
      Check for [org.xwiki.test.ui.po.RenamePage] at http://xwikiweb:8080/xwiki/bin/view/NestedRenamePageIT/renamePageWithUsedClass/?xpage=rename&step=1.
      Found [1] items

      1: Links must be distinguishable without relying on color
      Description: Ensure links are distinguished from surrounding text in a way that does not rely on color
      Help URL: https://dequeuniversity.com/rules/axe/4.8/link-in-text-block?application=axeAPI
      Help: Links must be distinguishable without relying on color
      Impact: serious
      Tags: cat.color, wcag2a, wcag141, TTv5, TT13.a, EN-301-549, EN-9.1.4.1

      HTML element:
      <a href="/xwiki/bin/view/NestedRenamePageIT/renamePageWithUsedClass/?viewer=children&displayHidden=true">3 child pages</a>
      Selector: [dd:nth-child(4) > .xHint > a]
      Fix any of the following:
      The link has insufficient color contrast of 1.41:1 with the surrounding text. (Minimum contrast is 3:1, link text: #2f70a7, surrounding text: #555555)
      The link has no styling (such as underline) to distinguish it from the surrounding text

      HTML element:
      <a href="/xwiki/bin/view/NestedRenamePageIT/renamePageWithUsedClass/?viewer=backlinks">0 incoming links</a>
      Selector: [dd:nth-child(6) > .xHint > a]
      Fix any of the following:
      The link has insufficient color contrast of 1.41:1 with the surrounding text. (Minimum contrast is 3:1, link text: #2f70a7, surrounding text: #555555)
      The link has no styling (such as underline) to distinguish it from the surrounding text
      ```

      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: