]> git.mxchange.org Git - friendica.git/commitdiff
Issue 14491 - Add alt tag indicators to images
authorMarcus Funch <mfm@magenta.dk>
Sat, 21 Jun 2025 17:36:29 +0000 (19:36 +0200)
committerMarcus Funch <mfm@magenta.dk>
Sat, 21 Jun 2025 17:47:46 +0000 (19:47 +0200)
view/global.css

index 0215e6d4dfe9c6ec68dad5d3ac129cc73cb664d0..bb7955cd11c26c5cece87441394db8f35ac3bd06 100644 (file)
@@ -813,3 +813,16 @@ summary.wall-item-summary {
        max-width: 70ch;
        overflow-wrap: break-word;
 }
+
+/* Add alt tag indicators to the relevant images */
+a:has(img.has-alt-description)::after {
+       background: lightgray;
+       border-radius: 4px;
+       color: black;
+       content: "ALT";
+       font-weight: bold;
+       padding: 3px 8px;
+       position: absolute;
+       bottom: 10px;
+       right: 10px;
+}