Skip to content

Commit 41e6b6c

Browse files
claude: Update typst-float-4 test for alt text changes
Images with captions now include alt text for accessibility, which changes the output format from `image(...)` to `#box(image(..., alt: ...))`. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent d68ae6a commit 41e6b6c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎tests/docs/smoke-all/crossrefs/float/typst/typst-float-4.qmd‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ _quarto:
66
tests:
77
typst:
88
ensureTypstFileRegexMatches:
9-
-
9+
-
1010
- "#ref\\(<tbl-foo>, supplement: \\[Table\\]\\)"
1111
- "#ref\\(<fig-foo>, supplement: \\[Figure\\]\\)"
12-
- "#link\\(\"https://www.example.com/\"\\)\\[#.*image\\(\"img/surus.jpg\"\\)\\)"
12+
# Images with captions now include alt text for accessibility
13+
- '#link\("https://www\.example\.com/"\)\[#box\(image\("img/surus\.jpg", alt:'
1314
---
1415

1516
This tests:

0 commit comments

Comments
 (0)