Test the Level A image alternative issue in live prepublish - #21
Merged
Merged
Conversation
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.
Replace the skipped Prepublish result check with an active before-and-after assertion for WCAG 1.1.1 Level A, Siteimprove rule SIA-R2: “Image without a text alternative”. The check name and mapping come from Siteimprove's published rule guide and API check list.
The controlled draft contains one synthetic image without an alternative. After a fresh SDK handoff and loading-state exit, the issue must be visible. Save a descriptive alternative through the CMS, scan the new draft revision, require the accessibility section to remain visible without an alert, and require the issue to disappear. Published content stays unchanged. No public-site assets, account report contents or private URLs are committed.
Sources:
Validation: 17 local unit tests and live test discovery passed. The preceding live smoke run 35017790911 passed login, mapped report and both draft handoffs. The new result-label assertions still require an approved live run; they now fail rather than skip if the expected result is unavailable.