Merge pull request #14983 from mf-fx/img_alt_tag_indicator

Issue 14491 - Add alt tag indicators to images
This commit is contained in:
Philipp 2025-06-23 00:25:31 +02:00 committed by GitHub
commit 9c32e22530
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -814,3 +814,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;
}