Repository navigation
Conversation
…po#3091) Signed-off-by: Nik Cubrilovic <[email protected]>
Contributor
Author
|
Render-only checks move to private cloud rules, so closing this here. nik |
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.
Adds the cloud rule
a11y/rendered-layoutfor WCAG 1.4.10 reflow, 1.4.12 text spacing and 1.4.4 resize text (repo#3091).The viewport rendering from repo#1381 does not exist yet, so this reuses the
rendercloud service:RenderResultItemgains an optionallayoutprobe (reflow,textSpacing,textResize) measured in the page's own browser render, so no second render is paid for. The rule reads it fromctx.cloudResultsand skips with a clear reason offline, when nothing was prefetched, or when the render carries no probe. The statica11y/zoom-disabledstays as the offline check.Acceptance criteria
horizontal scroll at 320px is flagged with the selector and measured widthclipped text under the text-spacing overrides names the element and clipped amountcontent clipped at 200% text size is flagged under 1.4.4a clean fixture produces no findingsskips offline with the cloud reason,skips when the render carries no layout probeVerification
bun test ./packages/rules/tests/rendered-layout.test.ts: 10 passstreaming-rules-canonical-goldenpins moved (findings +500, perRuleTally 334);golden-finding-messages-229snapshot updatedmake validatein docs/ passesResidual
The render service does not emit
layoutyet (private producer, plus the prefetch path skips pages the crawl already rendered). Until it does the rule reports a skip everywhere. Follow-ups are filed privately.Agent skill
No change needed: the skills do not list rules by name or count.