Skip to content
Snippets Groups Projects
Commit 0469651e authored by Marlène SIMONDANT's avatar Marlène SIMONDANT
Browse files

Merge branch '244-images' into 'dev'

fix(accessibility): news images

See merge request !778
parents 1e0d9f4d 77f13e41
No related branches found
No related tags found
2 merge requests!846V3.1.0 (sans impression),!778fix(accessibility): news images
......@@ -7,7 +7,7 @@
(keyup.enter)="showDetails(post)"
>
<div class="imageContainer">
<img *ngIf="post.feature_image" alt="Image du post" [src]="post.feature_image" />
<img *ngIf="post.feature_image" alt="{{ post.feature_image_alt }}" [src]="post.feature_image" />
<img
*ngIf="!post.feature_image"
alt=""
......
......@@ -9,6 +9,7 @@ export class Post {
title: string;
excerpt: string;
feature_image: string;
feature_image_alt: string;
html: string;
author: string;
tags: Tag[];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment