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

Calendar | Create Events: Combobox inaccessible for screen reader users

XMLWordPrintable

      Issue Summary

       The "Repeat" combobox functionality present on the "Create Events" modal dialog is inaccessible for screen reader users.

      Additionally, this combobox is coded using native and custom approaches but none of these are fully accessible for screen reader users.

      Note: A similar issue is found on the below modal dialogs

      • The "Event Type" combobox on the "Create Events" modal dialog.

      Steps to Reproduce

      1. Navigate to the header and activate the "Calendar" link
      2. Navigate to the dates and activate it 
      3. Try to access custom mentioned comboboxes. Observe it is not accessible.
      4. Try to navigate to native comboboxes in read mode and observe that it is missing an accessible name.

      Screenshot 1: Repeat

      Screenshot 2: Event types

       

      Actual Results

      The role is not provided for the “Repeat” custom combobox. In addition, a label is not provided for the mentioned combobox.

      Following problems found with custom combobox →

      1. The custom combobox is missing the role of combobox.
      2. There is no accessible name for this combobox.
      3. role=”option” is missing for combobox options.
      4. The accessible name for this combobox is not announced for screen reader users.

      Due to this, screen reader users may not be able to use the functionality effectively.

      The problem found with native comboboxes is that the select-only comboboxes are coded in tabindex=”-1” property due to which it is available in read mode.

      As a result, comboboxes are inaccessible to screen reader users.

      Expected Results

      The combobox components should be correctly programmatically determined. Since there are already hidden native dropdowns in the DOM, we would recommend to remove the “tabindex=”-1” property from the <select> elements. As well, hide the custom combobox i.e <input> element and its options from the users. The native dropdowns have out-of-the-box accessibility.

      Alternatively, 

      Making custom combobox accessible →

      1. role="combobox" and aria-autocomplete="list" to the <input> element to announce the correct role for this field.
      2. aria-expanded property to the <input> element and toggle its value programmatically to true/ false depending on the expanded/ collapsed state of combobox.
      3. <div> element with role=”listbox” and a unique id.
      4. “aria-owns” attribute to <input> element having value of id property of <div> element.
      5. role=”option” and unique id to the <div> elements present for options present for combobx.
      6. aria-activedescendant property to the <input> element having value as id property of <li> element
      7. A visible label such as “Repeat” should be provided for Combobox using <label> element. Additionally “for“ and “id” attributes should be used to associate the label with its corresponding input field.
      8. If a visible label is not a feasible option then provide the label via the "aria-label" attribute or off-screen <label> element.

      Workaround

      Currently, there is no known workaround for this behaviour.

      Environment 

      MacBook Pro (16-inch, 2019)
      macOS 13.4.1 (c) (22F770820d)
      Chrome - Version 115.0.5790.170 (Official Build) (x86_64)
      Firefox- Version 114.0 (64-bit)
      Safari- Version 16.5.2 (18615.2.9.11.10)
      JAWS- Version 2023.2306.28
      NVDA- Version 2022.2.2
      Voiceover - Version Latest

        1. Screenshot 2023-08-01 at 5.42.28 PM.png
          618 kB
          Rahil Shaikh
        2. Screenshot 2023-08-09 at 4.30.42 PM.png
          642 kB
          Rahil Shaikh
        3. Screenshot 2023-08-14 at 12.09.08 PM.png
          571 kB
          Rahil Shaikh
        4. image-2023-08-29-16-42-18-970.png
          98 kB
          Maxim Leizerovich
        5. Screen Recording 2023-12-19 at 9.45.16 AM.mov
          13.56 MB
          Rahil Shaikh

            5e496a614b63 Diclehan Erdal
            b4488184f7d2 Rahil Shaikh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: