]> Untitled Git - lemmy-ui.git/commitdiff
fix(a11y): Add alt text to emojis form
authorJay Sitter <jay@jaysitter.com>
Sat, 24 Jun 2023 23:55:04 +0000 (19:55 -0400)
committerJay Sitter <jay@jaysitter.com>
Sat, 24 Jun 2023 23:55:04 +0000 (19:55 -0400)
src/shared/components/home/emojis-form.tsx

index 8428a54fe3454fa257ba7bfafaa7ad2af91cf821..2ec41d053be90a23fa081d09bacd6c65925de9e2 100644 (file)
@@ -125,6 +125,7 @@ export class EmojiForm extends Component<EmojiFormProps, EmojiFormState> {
                       >
                         {cv.image_url.length > 0 && (
                           <img
+                            alt={cv.alt_text}
                             className="icon-emoji-admin"
                             src={cv.image_url}
                           />