Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Auto-generate 'tabindex=0' after added ngModel directive in control #10062

Closed
cbunhok opened this issue Nov 14, 2014 · 3 comments
Closed

Auto-generate 'tabindex=0' after added ngModel directive in control #10062

cbunhok opened this issue Nov 14, 2014 · 3 comments

Comments

@cbunhok
Copy link

cbunhok commented Nov 14, 2014

Hello Mr. @mhevery

I am sorry that I disturb you. I really have a doubt to ask you for sure. My question is when I added directive "ngModel" to any controls, there is generated 'tabindex=0' automatically.

@caitp
Copy link
Contributor

caitp commented Nov 14, 2014

You're seeing tabindex generated because you're including the ngAria component. It will set a default tabindex for ng-model, currently (but will not override one if you supply your own).

@caitp
Copy link
Contributor

caitp commented Nov 14, 2014

You can get more of an explanation about this from https://www.youtube.com/watch?v=dmYDggEgU-s

@caitp caitp closed this as completed Nov 14, 2014
@marcysutton
Copy link
Contributor

Sorry for the late message on this, but ngAria actually is going a bit too far with tabindex. I have opened an issue to adjust the functionality, which you can reference here: #11500

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants