-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
AccessibilityThis issue is related to accessibility (a11y)This issue is related to accessibility (a11y)P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Description
Bug, feature request, or proposal:
For <md-select/>
, tabindex attribute value is set to 0.
What is the expected behavior?
tabindex should have the given value.
What is the current behavior?
It is rendering tabindex="0" when using <md-select tabindex="6"></md-select>
Which versions of Angular, Material, OS, browsers are affected?
- Angular 2.4.9
- Material 2.0.0-beta.2
Is there anything else we should know?
Issue in the following lines:
export class MdSelect implements AfterContentInit, ControlValueAccessor, OnDestroy {
/** Returns the correct tabindex for the select depending on disabled state. */
_getTabIndex() {
return this.disabled ? '-1' : '0';
}
}
Metadata
Metadata
Assignees
Labels
AccessibilityThis issue is related to accessibility (a11y)This issue is related to accessibility (a11y)P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent