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

The line number links of the source viewer are smaller than the minimum target size

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.10.0
    • Flamingo Skin
    • Unknown
    • 2.5.8 Target Size (Minimum)

    Description

      The source viewer (?viewer=code) shows a line number link in front of each line. Each link is only 8.4 by 16 pixels and the lines touch, so the safe clickable space has a diameter of 16 pixels instead of 24.

      Steps to reproduce

      1. View the source of a page, for instance Sandbox/WebHome?viewer=code.
      2. Measure the line number links.

      Expected: each line number link is at least 24 by 24 CSS pixels, or is spaced so that the 24 pixel circles centred on them do not intersect.

      Actual: each link is 8.4 by 16 pixels with no space between lines.

      Screenshot


      ___

      This fails Success Criterion 2.5.8 Target Size (Minimum), level AA. It is reported as a warning by the target-size axe-core rule of the Docker functional tests.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Lucas C Charpentier Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: