Repository navigation
[A11Y-196] Restore the V0 link text label association - #554
Merged
Merged
Conversation
✅ Deploy Preview for stacks-editor ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://stackoverflow.atlassian.net/browse/A11Y-196
Summary
Restore the link-text label fix from #530 to the V0 release line. It shipped in 0.15.5 but was missing from the branch used to release 0.16.0, causing an accessibility regression. This patch retains WebP support and prepares a 0.16.1 release.
Changes
forattribute, restoring the native label association required by WCAG 1.3.1.This is a focused backport of the SO_49 label fix, not a reimplementation of the broader A11Y-196 toolbar work.
How to test
Using Node 24 LTS:
npm ci, thennpm start -- --port 8080.http://localhost:8080/, select rich-text mode, and open the Link dialog.npm run test:unit -- --runInBand,npm run test:e2e,npm run test:release-config,npm run lint,npx tsc --noEmit, andnpm run prepublishOnly.Locally, 1,094 unit tests, all 198 browser tests across Chromium/Firefox/WebKit, and 8 release-config tests passed. Lint, type-check, and packaging build passed with existing warnings. Browser tests used an isolated server on port 8082.
The new unit test reproduced the failure before the fix. Compiled source/type comparison against published 0.15.5 showed only the intended WebP default difference after restoration.
Manual screen-reader checks and verification in consuming applications remain pending.
Preview: Open deploy preview.
Success criteria
From A11Y-196; unchecked items remain outside this focused backport or require downstream verification: