Skip to content

md-select tabindex issue #3474

Closed
Closed

Description

@oryam

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';
  }
}

Activity

  1. self-assigned this
    on Mar 7, 2017
  2. added
    Accessibility
    on Mar 7, 2017
  3. added a commit that references this issue on Mar 7, 2017
    25d0127
  4. added
    P3
    on Mar 7, 2017
  5. added a commit that references this issue on Mar 9, 2017
    934be6f
  6. added a commit that references this issue on Mar 10, 2017
    11dec36
  7. added a commit that references this issue on Apr 16, 2017
    ac476e4
  8. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    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.

  9. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AccessibilityP3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions