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

The version link of an attachment is smaller than the minimum target size

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 18.10.0
    • 17.10.0
    • Attachments
    • Unknown
    • N/A
    • N/A
    • 2.5.8 Target Size (Minimum)

    Description

      In the attachments tab, the version number shown under each attachment name ("View attachment history", from attachment_macros.vm) is a 14.6 by 12 pixel link, below the minimum target size. The safe clickable space has a diameter of 22.4 pixels instead of 24.

      Steps to reproduce

      1. View a page with an attachment, for instance Sandbox.WebHome, and open the Attachments tab.
      2. Measure the version link (e.g. "1.1") under the attachment name.

      Expected: the link is at least 24 by 24 CSS pixels, or is spaced so that the 24 pixel circle centred on it does not intersect its neighbours.

      Actual: the link is 14.6 by 12 pixels.

      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

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

              Dates

                Created:
                Updated:
                Resolved: