about summary refs log tree commit diff
path: root/kittybox-rs/templates
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/templates')
-rw-r--r--kittybox-rs/templates/src/mf2.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/kittybox-rs/templates/src/mf2.rs b/kittybox-rs/templates/src/mf2.rs
index 022a206..eaac621 100644
--- a/kittybox-rs/templates/src/mf2.rs
+++ b/kittybox-rs/templates/src/mf2.rs
@@ -383,6 +383,9 @@ markup::define! {
     }
     WebInteractions<'a>(post: &'a serde_json::Value) {
         footer.webinteractions {
+            p[style="display: none", "aria-hidden"="false"] {
+                "Webmention counters:"
+            }
             ul.counters {
                 li {
                     span."icon like-icon"["aria-label"="likes"] {
@@ -393,15 +396,15 @@ markup::define! {
                     span.counter { @post["properties"]["like"].as_array().map(|a| a.len()).unwrap_or(0) }
                 }
                 li {
-                    span.icon { "💬" }
+                    span.icon["aria-label"="replies"] { "💬" }
                     span.counter { @post["properties"]["comment"].as_array().map(|a| a.len()).unwrap_or(0) }
                 }
                 li {
-                    span.icon { "🔄" }
+                    span.icon["aria-label"="reposts"] { "🔄" }
                     span.counter { @post["properties"]["repost"].as_array().map(|a| a.len()).unwrap_or(0) }
                 }
                 li {
-                    span.icon { "🔖" }
+                    span.icon["aria-label"="bookmarks"] { "🔖" }
                     span.counter { @post["properties"]["bookmark"].as_array().map(|a| a.len()).unwrap_or(0) }
                 }
             }