[NPMCLI-31] Image should have good default for alt attribute Created: 14/Jul/16  Updated: 20/Mar/17  Resolved: 17/Mar/17

Status: Closed
Project: Magnolia CLI
Component/s: None
Affects Version/s: 2.0
Fix Version/s: 2.1.0

Type: Improvement Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Robert Kowalski
Resolution: Fixed Votes: 0
Labels: quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Sprint: Basel 87
Story Points: 0.5

 Description   

In the prototype dialog template, for the image alt attribute use the caption property of the image asset if it has one.

Probably:
<img src='${imageLink!}' class='img-responsive' alt='${image.caption!"image"}'>



 Comments   
Comment by Tomáš Gregovský [ 04/Aug/16 ]

Generated at Mon Feb 12 04:45:51 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.