mirror of
https://github.com/friendica/friendica
synced 2025-07-09 05:09:02 +02:00
Merge pull request #14983 from mf-fx/img_alt_tag_indicator
Issue 14491 - Add alt tag indicators to images
This commit is contained in:
commit
9c32e22530
1 changed files with 13 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue