Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-31

Image should have good default for alt attribute

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1.0
    • Labels:
    • 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"}'>

        Checklists

        Acceptance criteria

          Attachments

            Activity

              People

              Assignee:
              rkowalski Robert Kowalski
              Reporter:
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Checklists

                  DoD