Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-83216

Alt text doesn't work when using markdown syntax to embed image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • Editor

    Description

      Issue Summary

      Alt text attribute has no value when using markdown syntax to embed image

      Steps to Reproduce

      1. Use the following syntax to embed an image in a text field
        ![Any string](https://thumbs.dreamstime.com/z/bee-flower-27533578.jpg)
        
      1. Inspect the image and observe the Alt attribute has no value:
        <img data-testid="media-image" draggable="false" alt="" src="https://thumbs.dreamstime.com/z/bee-flower-27533578.jpg" style="position: absolute; left: 50%; top: 50%; object-fit: contain; image-orientation: none; transform: translate(-50%, -50%); height: 100%;">

      Expected Results

      Alt attribute should have the value specified when embedding image using markdown

      Actual Results

      Alt text has no value when using markdown syntax to embed image

      Workaround

      Edit the text field where you added the image and click the image >

      Attachments

        1. image-2024-03-07-09-30-00-756.png
          image-2024-03-07-09-30-00-756.png
          1.23 MB
        2. screenshot-1.png
          screenshot-1.png
          328 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              23ef3e30d63c Anusha Rutnam
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: