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

The links of the table of contents 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 toc macro renders a nested list with one link per line. Each link is 16 pixels high and the lines touch, so the safe clickable space has a diameter of about 17 pixels instead of 24. This affects every page using the macro. The tests only report it on the extension sheet of the Repository Application.

      Steps to reproduce

      1. View the Sandbox.WebHome page, which contains a toc macro.
      2. Measure the links of the table of contents.

      Expected: each link is at least 24 pixels high, or the links are spaced so that the 24 pixel circles centred on them do not intersect.

      Actual: each link is 16 pixels high 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: