Skip to content

Accessibility: Icon with text block links fail WCAG 2.5.8 Target Size Minimum #3987

Open

Description

@andywestley

Describe the current behavior

In sections/main-product.liquid and assets/component-icon-with-text.css, links inside the "Icon with text" block (.icon-with-text .h4 a, .icon-with-text a) render without explicit height constraints or touch padding, causing WCAG 2.2 AA Target Size (Minimum) violations when evaluated by static accessibility checkers.

Describe the expected behavior

Links within the icon-with-text component should provide an interactive area of at least 24×24px (min-height: max(24px, 2.4rem); min-width: max(24px, 2.4rem); display: inline-flex; align-items: center;).

Version information (Dawn, browsers and operating systems)

  • Dawn Version: 16.0.0
  • Chrome Version: 128.0.0.0
  • macOS / Windows / Linux

Possible solution

In assets/component-icon-with-text.css:

.icon-with-text .h4 a,
.icon-with-text a {
  display: inline-flex;
  align-items: center;
  min-height: max(24px, 2.4rem);
  min-width: max(24px, 2.4rem);
  padding-block: 0.2rem;
}

Additional context/screenshots

  • Rule ID: target-size (Axe-core)
  • Affects: sections/main-product.liquid, sections/featured-product.liquid, sections/icon-with-text.liquid.

Activity

  1. changed the title [-]Icon with text block links fail WCAG 2.5.8 Target Size Minimum[/-] [+]Accessibility: Icon with text block links fail WCAG 2.5.8 Target Size Minimum[/+] on Sep 23, 2026
  2. github-actions commented on Nov 22, 2026

    @github-actions

    This issue has been marked as stale due to inactivity for 60 days. Please comment or update if this is still relevant, otherwise it will be closed in 7 days.

  3. andywestley commented on Nov 22, 2026

    @andywestley
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions