Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-79411

Comments - Edit : Images must have alt attribute.

    XMLWordPrintable

Details

    Description

      Issue Summary

      Images must have alt attribute.

      Steps to Reproduce

      1. Navigate to the required Confluence page.
      2. Navigate to Spaces and select page from "Recent pages".
      3. Select text such as "Edit" and try to hover on the tooltip icon that appears after selecting the text.
      4. Navigate and activate the "Add inline" element, and observe that a dialog box appears on the right side of the main content area.

      Actual Results

      On the Confluence page, the Profile icon image present inside inline comments popup doesn’t have alt attribute. Additionally there are two link adjacent to each other which goes to same destination. This makes keyboard & screen reader users navigate through links redundantly.

      Expected Results

      Provide empty alt attribute to the <img> element. And hide the parent link of the image from screen reader & keyboard users.

      Provide following attributes to the <a> element.

      • tabindex="-1"
      • aria-hidden="true"
      • role="presentation"

      Ensure that only mentioned link have these attributes in the code.

      Screenshot

      Screen Recording

      Screen Recording 2022-07-20 at 4.49.12 PM.mov

      Workaround

      Currently, there is no known workaround for this behaviour. A workaround will be added here when available

      Bug Ref: 725367

      Attachments

        Issue Links

          Activity

            People

              34549e788464 Oleksandr Mazepa
              12b69dcabe29 Matthew Brennan
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: