Skip to content

tabindex doesn't work on md-checkbox #3368

Closed
@jloosli

Description

@jloosli

Bug, feature request, or proposal:

I am not able to disable tabbing to a md-checkbox.

What is the expected behavior?

<md-checkbox tabIndex="-1"></md-checkbox> should not be skipped over when tabbing through a form.

What is the current behavior?

The checkbox receives focus when tabbing through the form. In addition, there isn't any visual indication that the checkbox has focus, so it's difficult to tell where I am in the form unless I press the spacebar to toggle that particular entry.

What are the steps to reproduce?

http://plnkr.co/edit/0P5w3xAmYWhx4ZrEoWUU?p=preview

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

I have checkbox that I want on the form, but not to be tabbed to.

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

Tested on Angular 2.4.8, Angular/Material 2.0.0-beta.2, Chrome

Is there anything else we should know?

That more or less covers it.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions