Manual Test Cases for Target Size - Tests 1585 & 1586

Test 1585: Target size smaller than 24x24 CSS pixels (WCAG 2.2 Level AA)

Test 1586: Target size smaller than 44x44 CSS pixels (WCAG 2.2 Level AAA)

Elements are outlined to help visualize their actual size.

The following logic is applied for both 24x24 and 44x44 pixel threshold:

Two-Tier Size Classification:

Min Dimension Strategy:

False-Positive Exceptions (ENG-1585 CR fixes):

TEST 1585 - 24x24 Pixel Threshold (WCAG 2.2 Level AA)

N/A Tests - Should Not Be Tested

Non-interactive span element (no role)

test

Hidden interactive element (display:none)

Note: Button is hidden with display:none

Disabled form control

Link without href

test

Interactive element with visibility:hidden

Note: Button is hidden with visibility:hidden

Disabled button

Disabled select

Disabled textarea

Element with tabindex="-1" (not in tab order)

Not in tab order

Area element without href

No href

Note: area element has no href — not interactive

PASS Tests - Interactive Elements >= 24x24 pixels

Button element with size >= 24x24

Element with role="button" and size >= 24x24

test

Link with href and size >= 24x24

Link

Input element with size >= 24x24

Element with exactly 24x24 pixels (meets threshold)

FAIL Tests - Interactive Elements < 24x24 pixels

Element with role="tab" and size 20x30 (width > 24)

Element with role="option" and size 12x50 (width > 24)

Option

Select element with size 18x50 (width > 24)

Element with height < 24 but width >= 24 (10x50)

Element with width < 24 but height >= 24 (50x10)

Button element with size < 24x24 (10x10)

Element with role="button" and size < 24x24 (10x10)

test

Element with role="checkbox" and size < 24x24 (15x15)

Element with role="link" and size < 24x24 (20x20)

Link

Element with role="menuitem" and size < 24x24 (18x18)

Element with role="radio" and size < 24x24 (16x16)

Radio

Element with role="switch" and size < 24x24 (22x22)

Element with tabindex="0" and size < 24x24 (10x10)

Focusable

Element with tabindex="1" and size < 24x24 (15x15)

Focusable

Link with href and size < 24x24 (10x10)

X

Input element with size < 24x24 (20x20)

Checkbox input with size < 24x24 (15x15)

Textarea element with size < 24x24 (20x20)

Details element with size < 24x24 (15x15)

XContent

Element with exactly 23x23 pixels (just under threshold)

Multiple small interactive elements (3 failures)

Mix of passing and failing elements (1 failure)

PASS Tests - All Role Types with Proper Size

All interactive roles with size >= 24x24 (30x30)

Button
Link
Option
Switch

All native interactive elements with size >= 24x24 (30x30)

Link

Area element with href (size cannot be determined from CSS)

Small area

Note: area[href] is included in the tested set but CSS computed dimensions are not available for area elements — always passes. Coords-based size detection is a known limitation.

WCAG 2.5.8 Inline / List-Item Link Exception

Exempt from BOTH 1585 (24px) and 1586 (44px) — the link's size is dictated by surrounding text, not the author's choice of control size.

PASS (exempt): small link mid-sentence in a <p> of running text

Read our terms before continuing.

PASS (exempt): small link inline in running text without a <p> wrapper

See here for details.

PASS (exempt): small link in a list item alongside other non-link text

FAIL (guard): small link alone in a <p> with no other text

X

Note: no surrounding text in the paragraph — the exception must NOT apply.

FAIL (guard): small link alone in a standalone <li> (nav-item pattern)

Note: matches the standard standalone nav/footer link pattern — must still be flagged.

FAIL (guard): small button mid-sentence (exception is links-only)

Click to continue.

Note: WCAG 2.5.8's inline exception only covers links, not buttons/checkboxes/etc.

Unresolved Lazy-Loaded Image Heuristic

Exempt from BOTH 1585 (24px) and 1586 (44px) — the engine's dimension snapshot was captured while the real image was still on a lazy-load placeholder, so the collapsed box isn't the element's real rendered size. Root cause of the original avada.website false positives on this ticket.

PASS (exempt): small link wrapping an unresolved lazy image (data-URI placeholder)

PASS (exempt): small link wrapping an unresolved lazy image (empty placeholder src)

FAIL (guard): small link wrapping a normal (non-lazy) image

Note: no data-src attribute at all — not a lazy image, must still be flagged.

FAIL (guard): small link wrapping a lazy image that has already resolved to a real src

Note: src is no longer a placeholder — the image has resolved, must still be flagged.

TEST 1586 - 44x44 Pixel Threshold (WCAG 2.2 Level AAA)

N/A Tests - Should Not Be Tested

Non-interactive span element (no role)

test

Hidden interactive element (display:none)

Note: Button is hidden with display:none

Disabled form control

Link without href

test

Interactive element with visibility:hidden

Note: Button is hidden with visibility:hidden

Disabled button

Disabled select

Disabled textarea

Element with tabindex="-1" (not in tab order)

Not in tab order

Area element without href

No href

Note: area element has no href — not interactive

PASS Tests - Interactive Elements >= 44x44 pixels

Button element with size >= 44x44

Element with role="button" and size >= 44x44

test

Link with href and size >= 44x44 (50x50)

Link

Input element with size >= 44x44 (45x45)

Element with role="tab" and size 20x50 (width > 44)

Element with exactly 44x44 pixels (meets threshold)

Element with role="option" and size 12x50 (width > 44)

Option

Select element with size 18x50 (width > 44)

Element with height < 44 but width >= 44 (10x50)

Element with width < 44 but height >= 44 (50x10)

FAIL Tests - Interactive Elements < 44x44 pixels

Button element with size < 44x44 (30x30)

Element with role="button" and size < 44x44 (30x30)

test

Element with role="checkbox" and size < 44x44 (35x35)

Element with role="link" and size < 44x44 (30x30)

Link

Element with role="menuitem" and size < 44x44 (28x28)

Element with role="radio" and size < 44x44 (26x26)

Radio

Element with role="switch" and size < 44x44 (32x32)

Element with tabindex="0" and size < 44x44 (30x30)

Focusable

Element with tabindex="1" and size < 44x44 (35x35)

Focusable

Link with href and size < 44x44 (30x30)

X

Input element with size < 44x44 (30x30)

Checkbox input with size < 44x44 (35x35)

Textarea element with size < 44x44 (30x30)

Details element with size < 44x44 (35x35)

XContent

Element with exactly 43x43 pixels (just under threshold)

Multiple small interactive elements (3 failures)

Mix of passing and failing elements (1 failure)

PASS Tests - All Role Types with Proper Size

All interactive roles with size >= 44x44 (50x50)

Button
Link
Option
Switch

All native interactive elements with size >= 44x44 (50x50)

Link

Area element with href (size cannot be determined from CSS)

Small area

Note: area[href] is included in the tested set but CSS computed dimensions are not available for area elements — always passes. Coords-based size detection is a known limitation.