Skip to content

Invalid ARIA attribute value: aria-activedescendant="sug-noResultsFound" #22246

@tdempsey2

Description

@tdempsey2

Environment Information

  • Package version(s): (8.62.4)
  • Browser and OS versions: (Chrome: Version 99.0.4844.84 Windows 11)

Describe the issue:

[Microsoft Accessibility Insights for Web plugin] is reporting issues when we have a Dropdown component with pre-selected items opened.
<input autocapitalize="off" autocomplete="off" aria-autocomplete="both" spellcheck="false" placeholder="e.g. Biology" aria-labelledby="majorsAutocomplete1469" class="ms-BasePicker-input input-161" id="combobox-id__1470" aria-activedescendant="sug-noResultsFound" aria-controls="" aria-expanded="false" aria-haspopup="listbox" role="combobox" data-lpignore="true" value="" aria-describedby="selected-items-id__1470" style="font-family: #inherit;">

A similar issue: #15383

Please provide a reproduction of the issue in a codepen:

https://codepen.io/tiedde/pen/rNpwgpL
image
image

According to the documentation, you are supposed to send an Id of an option of the dropdown/combobox`
Which we are doing.

Actual behavior:

Accessibility validations fail for Combobox.

Expected behavior:

No Accessibility error.

Documentation describing expected behavior

Using aria-activedescendant to allow changes in focus within widgets to be communicated to Assistive Technology - WCAG WG (w3.org)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions