I prefer title to alt for this app
This commit is contained in:
parent
a033c5638d
commit
40a4b0006b
2
main.py
2
main.py
@ -429,7 +429,7 @@ def _render_page(
|
|||||||
else:
|
else:
|
||||||
media_element = (
|
media_element = (
|
||||||
f'<img class="media" src="{img_url}" '
|
f'<img class="media" src="{img_url}" '
|
||||||
f'alt="{navigation_data["filename"]}" {data_attrs}>'
|
f'title="{navigation_data["filename"]}" {data_attrs}>'
|
||||||
)
|
)
|
||||||
|
|
||||||
content = template.substitute(
|
content = template.substitute(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user