Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13193

Repository Details : Autocomplete combobox is missing appropriate roles and/or attributes.

    XMLWordPrintable

Description

    Issue Summary

    The element Default branch Dropdown menu appears and functions like an Autocomplete Combobox but is missing the required ARIA role(s) and/or attribute(s).

    Steps to Reproduce

    1. Launch the URL
    2. Navigate to the Default branch Dropdown menu to activate the listbox.

    Screenshot

    Actual Results

    In the Repository settings, the Repository details have an autocomplete Combobox for the "Default branch". The particular element has some of the Labels and Roles missing. When native HTML elements are used basic information about an element, such as name, role, state and value are exposed to assistive technologies by default. However, for custom components, this information needs to be made available for assistive technologies, so users can interact with the custom components effectively.

    Expected Results

    Few of the following labels and roles could be added to the following elements :

    • A role="combobox" could be added to the <div> element.
    • The dropdown menu should announce the label it is associated with.
    • For this case, when the users focus to enter the Dropdown menu, it should announce content such as "Default branch, select a default branch from the list of items". This will help the assistive technology user to understand the relation between the label and the dropdown menu.
    • A working example for accessible Autocomplete Combobox could be found at: https://www.w3.org/TR/wai-aria-practices-1.2/examples/combobox/combobox-autocomplete-list.html

    Workaround

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

    Bug Ref: 738530

    Attachments

      Issue Links

        Activity

          People

            c3057d0e8d6b Vadym Ohyr
            12b69dcabe29 Matthew Brennan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: