Skip to content

Commit

Permalink
Revert "Add tabindex -1 to native button (#108)" (#110)
Browse files Browse the repository at this point in the history
This reverts commit 3723cb6.
  • Loading branch information
limonte committed Sep 24, 2018
1 parent 3723cb6 commit 181efe4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/vaadin-button.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,8 @@
// being different when using focus navigation (tab) versus using normal
// navigation (arrows). The first way announces the label on a button
// since the focus is moved programmatically, and the second on a group.
// Button with role="presentation" is required to not be in tab order.
this.setAttribute('role', 'button');
this.$.button.setAttribute('role', 'presentation');
this.$.button.setAttribute('tabindex', '-1');

this._addActiveListeners();
}
Expand Down

0 comments on commit 181efe4

Please sign in to comment.