Skip to content

JAWS - Autocomplete doesn't announce dropdown closing for invalid input #3375

Closed

Description

@DaveBest99

Bug, feature request, or proposal:

Request: Typed input should only match what is in the list box.

What is the expected behavior?

In a non-editable auto-complete, any letters that do not result in a match from the list should be ignored, the drop down list of choices remains static until the user presses Escape to clear the text field, Backspace to remove some of the letters previously typed, or types an additional letter that results in a valid list of choices. In an editable auto-complete, if no choices match the letters typed, the drop down list closes.

What is the current behavior?

Currently anything can be typed into the Edit box.

What is the use-case or motivation for changing an existing behavior?

Help users from making mistakes. A non-editable list box should only allow typed text that matches the list items, and an editable list box can accept typed text that does not match the list items, but this is confusing in a list of States.

Is there anything else we should know?

The only time the Edit box gets screen reader focus is when an invalid character is typed. That is, as long as there is a list item with the sequence of typed letters, the focus will move through the list, but a non-recognizable sequence will bring focus to the Edit box. Deleting the last letter typed (pressing Backspace) will move focus to the valid list item but it is not announced by the screen reader. That is, the screen reader user does not know what list item has focus (Note,although JAWS does not announce the State name, it is showned on the braille display). The user can press up/down arrow keys through the list but never get Edit box focus. Focus should stay on the Edit box until the arrow key is pressed, and an aria-alert can read the list item in focus.

Activity

  1. added
    Accessibility
    on Mar 2, 2017
  2. self-assigned this
    on Mar 3, 2017
  3. kara commented on Mar 3, 2017

    @kara
    Contributor

    Related: Related: #3416

  4. kara commented on Mar 4, 2017

    @kara
    Contributor

    Currently we hide the panel when there are no options, but it looks like aria-expanded is not updated properly, so there's no indication that the list is closed. That's definitely a bug. It's also weird when the invalid letter is deleted because it doesn't announce that the list has re-opened. Looking into it.

  5. changed the title [-]A11y keyboard control AutoComplete input validation[/-] [+]A11y - Autocomplete doesn't announce dropdown closing for invalid input[/+] on Mar 4, 2017
  6. added
    P3
    on Mar 4, 2017
  7. DaveBest99 commented on Mar 4, 2017

    @DaveBest99
    Author
  8. changed the title [-]A11y - Autocomplete doesn't announce dropdown closing for invalid input[/-] [+]JAWS - Autocomplete doesn't announce dropdown closing for invalid input[/+] on Mar 10, 2017
  9. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  10. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AccessibilityP3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions