tabindex doesn't work on md-checkbox
See original GitHub issueBug, 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.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
html - Checkbox tab index not working when set to hidden with ...
My dropdown menu doesn't take in horizontal and there is a space between the dropdown buttons. Any one? 2 · How to apply...
Read more >tabindex is not working on check box, How To? #2474 - GitHub
Removing the visibility : hidden makes the checkbox and radio boxes focusable. But you don't see that it's focused. So you need to...
Read more >Trouble Tabbing To Tabs and Cheeky Checking Checkboxes
Just to level set here, this is not expected behavior. If a screen reader were not running, a tab with a -1 tabindex...
Read more >CheckBox.TabIndex property (Access) - Microsoft Learn
Syntax. expression.TabIndex · Remarks. You can set the TabIndex property to an integer that represents the position of the control within the tab ......
Read more >tabIndex missing on CheckBox? - jQuery EasyUI
is there a key that toggles the checkbox, like the standard HTML checkbox the spacebar will toggle it. this doesn't seem to work ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not sure. I see that it can cause confusion here, but I think the
tabIndex
is in camel-cause because when using an input binding, you are actually setting the nativetabIndex
property.That’s why for native inputs you can also do
Not sure if we should support both.
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.