Skip to content

Fix aria-labelledby referenced accessible names - #208

Merged
AKzar1el merged 2 commits into
mainfrom
revenue-shot/1746-aria-labelledby-label
Sep 24, 2026
Merged

AKzar1el merged 2 commits into
mainfrom
revenue-shot/1746-aria-labelledby-label

Conversation

@AKzar1el

Copy link
Copy Markdown
Owner

What this covers

  • regression coverage for aria-labelledby references whose target has a non-empty aria-label but no text content
  • package/root and hosted parity across images, semantic image roles, SVG image roles, image submit buttons, iframes, and image-map areas

Evidence

  • current implementation derives referenced names only from target text content, so the new root regression is red before the fix
  • W3C Accessible Name and Description Computation 1.2 computes each aria-labelledby reference through the text-alternative algorithm, where a non-empty aria-label precedes name-from-content

This PR is intentionally test-only first to preserve red-before-fix evidence; implementation will follow on this same branch after protected CI records the regression.

@AKzar1el
AKzar1el merged commit 8061e0d into main Sep 24, 2026
5 checks passed
@AKzar1el
AKzar1el deleted the revenue-shot/1746-aria-labelledby-label branch September 24, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant