Repository navigation
spec: content marked decorative is never emitted; cnd.decorative helper - #3
Merged
Merged
Conversation
A producer emits no node, text, pool entry or link edge for content its source marks as decorative (Typst pdf.artifact, tagged-PDF artifacts, HTML aria-hidden / role="presentation"). References into it yield no edge; footnotes declared in it get no pool entry. Only an explicit marker counts. Producer behaviour only, no schema change. Part of CND-12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A named wrapper over pdf.artifact in the Typst authoring package, so authors state the intent the spec's "Decorative content" rule acts on. README and changelog document it; a package test pins the definition. Part of CND-12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Markers written inside decorative content (references, citations, footnote re-references) yield no edge, whatever they point at. - A kept footnote keeps its rendered ordinal: now normative. - The bibliography pool stays the built document's bibliography. - HTML mapping: aria-hidden="true" and alt="" images only. The roles presentation and none strip semantics, not content, so they are out. - Proposal 0011 names the reference Typst producer's two remaining gaps instead of claiming full coverage. Part of CND-12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Part of CND-12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e rule Part of CND-12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS
…rpose Part of CND-12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS
…producer drops Part of CND-12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS
Part of CND-12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS
Part of CND-12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS
Part of CND-12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS
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.
Closes CND-12.
What
pdf.artifact, tagged-PDF artifacts, HTMLaria-hidden="true"andalt=""images.cnd.decorative(body), a named wrapper overpdf.artifact. README and changelog document it, and a package test pins it.There is no schema change and no
cnd_versionbump.Reference producer status
The Typst producer covers the rule, including floats and show rules that wrap a whole element (companion change in the typst fork). One partial show-rule case remains and is named in § Impact.
Tests
uv run pytest -q: 430 passed.🤖 Generated with Claude Code
https://claude.ai/code/session_01XxXUiDn2QyzNTYnZpeVFVS