Skip to content

Commit

Permalink
refactor(cdk/a11y): remove InteractivityChecker ie11 special case (#2…
Browse files Browse the repository at this point in the history
…3267)

As of v13, we no longer support IE11. Related to #7374
  • Loading branch information
jelbourn authored Jul 30, 2021
1 parent e8dd070 commit b714dec
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/cdk/a11y/interactivity-checker/interactivity-checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,6 @@ function hasValidTabIndex(element: HTMLElement): boolean {
}

let tabIndex = element.getAttribute('tabindex');

// IE11 parses tabindex="" as the value "-32768"
if (tabIndex == '-32768') {
return false;
}

return !!(tabIndex && !isNaN(parseInt(tabIndex, 10)));
}

Expand Down

0 comments on commit b714dec

Please sign in to comment.