Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JAWS - Autocomplete edit box announcement is confusing #3374

Closed
DaveBest99 opened this issue Mar 2, 2017 · 5 comments
Closed

JAWS - Autocomplete edit box announcement is confusing #3374

DaveBest99 opened this issue Mar 2, 2017 · 5 comments
Labels
Accessibility This issue is related to accessibility (a11y) needs: verification A member of the team needs to verify whether this issue is fixed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@DaveBest99
Copy link

Bug, feature request, or proposal:

Request: Change filter list selection to the expected standard.

What is the expected behavior?

With focus in the text box, with an existing value, type additional letters. As the user types letters the list of choices is filtered so that only those that begin with the typed letters are displayed. Until the user presses the Down arrow keys to highlight a particular choice, only the typed letters are displayed in the text box.

What is the current behavior?

Currently the screen reader cannot see what has been typed in the Edit box, and the drop-down list appears to be random.

What are the steps to reproduce?

Use a screen reader and keyboard.

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

To be more inclusive of keyboard users and those who have cognitive disabilities.

Is there anything else we should know?

Although screen reader focus never shows the Edit box, the user can type letters and the focus moves to the next list item with that letter. There is no way for the user to see what has been typed in the Edit box. Focus does not stay in the Edit box until an arrow key is pressed. Aria-alert could be used to announce the list item without moving the focus from the Edit box.

@kara kara added the Accessibility This issue is related to accessibility (a11y) label Mar 2, 2017
@kara
Copy link
Contributor

kara commented Mar 3, 2017

@DaveBest99 To clarify, on a screenreader, you'd want the experience to be:

  1. Type "a" --> hear "A" announced, then "4 dropdown items in list"
  2. Type "r" --> hear "R" announced, then "2 dropdown items in list"
  3. Type DOWN arrow -> hear "Arizona"

Is that right? We do currently keep the focus on the text field as you're typing, even if you hit an arrow key. What we're switching is the aria-activedescendant element. Clearly this isn't doing what we expect, so I want to make sure that we have the expected experience right for testing.

@kara kara self-assigned this Mar 3, 2017
@DaveBest99
Copy link
Author

DaveBest99 commented Mar 3, 2017 via email

@kara
Copy link
Contributor

kara commented Mar 3, 2017

Related: #3416

@kara
Copy link
Contributor

kara commented Mar 3, 2017

@DaveBest99 Thanks for all the detail! I tested steps # 1-5 again on JAWS on Firefox (leaving other steps for the scope of other existing issues) to break down what I think is still broken. Here's what I'm finding:

Step 1: This seems to work. Tabbing to the autocomplete announces "State edit combo expanded. To set the value...". Or if there is a value already set, I hear "State edit combo expanded. California. To set the value..."

Step 2 This seems to work. Typing a letter does announce that letter in the screenreader.

Step 3: This is broken. Currently we don't announce "4 items found" or "4 items in list" as the user types. Also hitting the LEFT or RIGHT arrow keys does not read the input, but rather reads something that sounds like "length". Both those things should be fixed.

Step 4: This seems to work. Hitting DOWN arrow or ALT-DOWN arrow both announce "List box: Alabama, 1 of x".

Step 5: This seems to work. Subsequent DOWN keypresses result in "Arizona", then "Arkansas", etc.

So it seems the two things in the scope of this Github issue are:

  • Fix missing announcement of total list items
  • Fix LEFT and RIGHT arrow key announcements

Let me know if I'm misunderstanding anything from above. Will tackle steps 6 - 10 in other issues.

@kara kara added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label Mar 3, 2017
@kara kara changed the title A11y keyboard control AutoComplete nonstandard filter selection A11y - Autocomplete edit box announcement is confusing Mar 4, 2017
@kara kara changed the title A11y - Autocomplete edit box announcement is confusing JAWS - Autocomplete edit box announcement is confusing Mar 10, 2017
@jelbourn jelbourn added the needs: verification A member of the team needs to verify whether this issue is fixed label Sep 19, 2017
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accessibility This issue is related to accessibility (a11y) needs: verification A member of the team needs to verify whether this issue is fixed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

No branches or pull requests

3 participants