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

The breadcrumb parent-tree toggles and home link are smaller than the minimum target size

    XMLWordPrintable

Details

    • Unknown
    • 2.5.8 Target Size (Minimum)

    Description

      Each item of the breadcrumb has a "Toggle the parent tree" button, rendered as a small arrow icon, and the first item is a home icon link. Both are below the minimum target size of 24 by 24 CSS pixels, and they sit too close to the separators and links around them for the spacing exception to apply.

      Reported sizes:

      • parent-tree toggle (.breadcrumb li.dropdown > .dropdown-toggle): 20 by 20 pixels, safe clickable space with a diameter of 22 pixels
      • home link (.breadcrumb .wiki > a): 16.3 by 15 pixels, safe clickable space with a diameter of 22.6 pixels

      The toggle gets padding: 0 and line-height: .5rem in breadcrumbs.less, so its size is the size of its icon.

      Steps to reproduce

      1. View any nested page, for instance Help.Applications.Movies.WebHome.
      2. Measure the home icon and the arrows next to each breadcrumb item.

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

      Actual: the toggles are 20 by 20 pixels and the home link is 16 by 15 pixels, with less than 24 pixels between neighbours.

      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: