From 2a682f0008b91e7c33c6e65b3ecfc690268ab405 Mon Sep 17 00:00:00 2001 From: Martin Haug Date: Thu, 20 Apr 2023 11:23:03 +0200 Subject: Add alt text to image function and PDF (#823) --- tests/typ/visualize/image.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/typ/visualize') diff --git a/tests/typ/visualize/image.typ b/tests/typ/visualize/image.typ index 4b3d390f..dc5b2ef6 100644 --- a/tests/typ/visualize/image.typ +++ b/tests/typ/visualize/image.typ @@ -21,7 +21,7 @@ #image("/monkey.svg", width: 100%, height: 20pt, fit: "stretch") // Make sure the bounding-box of the image is correct. -#align(bottom + right, image("/tiger.jpg", width: 40pt)) +#align(bottom + right, image("/tiger.jpg", width: 40pt, alt: "A tiger")) --- // Test all three fit modes. -- cgit v1.2.3