feature: alt-text for photos

This commit is contained in:
Matthias Jung
2025-11-09 17:48:47 +01:00
parent f00f0481a9
commit ee5197000e
4 changed files with 19 additions and 5 deletions
+3 -1
View File
@@ -9,7 +9,9 @@ from test.util import paragraph
@pytest.mark.html
def test_photo_html():
assertions = {
"[photo:123:abc:Text]": FiftyOhmHtmlRenderer.render_photo_helper("123", "abc", "Text", "TODO"),
"[photo:123:abc:Text]": FiftyOhmHtmlRenderer.render_photo_helper(
"123", "abc", "Text", "TODO", "Alt-Text noch nicht verfügbar"
),
}
for assertion in assertions: