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

Chips component has a partial keyboard trap #4593

Closed
rpd10 opened this issue May 16, 2017 · 1 comment · Fixed by #4605
Closed

Chips component has a partial keyboard trap #4593

rpd10 opened this issue May 16, 2017 · 1 comment · Fixed by #4605
Assignees
Labels
Accessibility This issue is related to accessibility (a11y)

Comments

@rpd10
Copy link

rpd10 commented May 16, 2017

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When using the keyboard to navigate the page, you should be able to tab into a chips component and use the arrow keys to navigate items, then tab or shift-tab to move away from the chips component.

What is the current behavior?

You are able to forward tab out of the component, but shift-tab does not let you leave and move back to the previous item on the page.

What are the steps to reproduce?

This is evident on the component guides page: https://material.angular.io/components/component/chips

  1. Click on overview.
  2. Tab into the chip
  3. Use the arrow keys to navigate through chips, use space bar to select. All good.
  4. Forward tab moves you to the next focusable element on the page, good.
  5. Shift-tab back to the chips.
  6. Shift-tab again, you are unable to lose focus on the first chip and navigate back to the previous item on the page.
  7. Use the arrow keys to select a chip other than the first. Shift tab, you are taken back to the first chip. Shift-tab again, you are unable to lose focus.

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U

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

Accessibility issue

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

@crisbeto crisbeto self-assigned this May 16, 2017
@crisbeto crisbeto added the Accessibility This issue is related to accessibility (a11y) label May 16, 2017
crisbeto added a commit to crisbeto/material2 that referenced this issue May 16, 2017
* Fixes not being able to escape focus from an `md-chip-list` backwards via shift+tab on all browsers.
* Fixes not being able to tab out of an `md-chip-list` at all on Firefox.

Fixes angular#4593.
jelbourn pushed a commit that referenced this issue May 19, 2017
* Fixes not being able to escape focus from an `md-chip-list` backwards via shift+tab on all browsers.
* Fixes not being able to tab out of an `md-chip-list` at all on Firefox.

Fixes #4593.
@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 Sep 5, 2019
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)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants