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

[md-nav-list][bug] Keyboard support #1902

Closed
chouclee opened this issue Nov 17, 2016 · 4 comments
Closed

[md-nav-list][bug] Keyboard support #1902

chouclee opened this issue Nov 17, 2016 · 4 comments

Comments

@chouclee
Copy link
Contributor

chouclee commented Nov 17, 2016

Bug, feature request, or proposal:

Bug

What is the expected behavior?

#1599
nav-list should support keyboards events like keyup, keydown.

What is the current behavior?

Only works when scroll bar can scroll.

What are the steps to reproduce?

http://plnkr.co/edit/7KTO8hIAgb9VO7oubNoF?p=preview
Click 'AB'. Keyup will not work. Keydown works until 'BB'

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

Fully support of keyboards events, at least for keyup, keydown and enter.

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

Angular 2.1.0
Material: Master
OS: MacOS 10.11.6

Is there anything else we should know?

Nope

@chouclee chouclee changed the title [md-nav-list] Keyboard support [md-nav-list][bug] Keyboard support Nov 17, 2016
@jelbourn
Copy link
Member

jelbourn commented Nov 18, 2016

@marcysutton For a list of anchors, should the interaction just to be to rely on the browser's default behavior (tabbing through them vs. having arrow-key shortcuts)?

(md-nav-list is just a list of anchor elements)

@marcysutton
Copy link

marcysutton commented Nov 18, 2016

@jelbourn yes, that is correct! Although if those anchors have ARIA menu roles, then the expected navigation behavior is to use the arrow keys with the whole menu as one tab stop. But I think you know that already :)

@jelbourn
Copy link
Member

Going to close this as working-as-intended then; the a11y for the nav-list determines the interaction here.

@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
None yet
Projects
None yet
Development

No branches or pull requests

3 participants