Add alt='' to decorative image https://www.w3.org/WAI/tutorials/images/decorative/
This commit is contained in:
parent
0e6ffd0baa
commit
4a5059ed34
3 changed files with 11 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
- if commentaire.sent_by_system?
|
||||
= image_tag('icons/mail.svg', class: 'person-icon')
|
||||
= image_tag('icons/mail.svg', class: 'person-icon', alt: '')
|
||||
- elsif commentaire.sent_by?(connected_user)
|
||||
= image_tag('icons/account-circle.svg', class: 'person-icon')
|
||||
= image_tag('icons/account-circle.svg', class: 'person-icon', alt: '')
|
||||
- else
|
||||
= image_tag('icons/blue-person.svg', class: 'person-icon')
|
||||
= image_tag('icons/blue-person.svg', class: 'person-icon', alt: '')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue