Răsfoiți Sursa

Added an alt to avatars.

grunfink 1 an în urmă
părinte
comite
610fc0917d
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -189,7 +189,7 @@ xs_html *html_actor_icon(snac *user, xs_dict *actor, const char *date,
             xs_html_attr("loading", "lazy"),
             xs_html_attr("class",   "snac-avatar"),
             xs_html_attr("src",     avatar),
-            xs_html_attr("alt",     "")),
+            xs_html_attr("alt",     "[?]")),
         xs_html_tag("a",
             xs_html_attr("href",    href),
             xs_html_attr("class",   "p-author h-card snac-author"),