Skip to content

Commit b714dec

Browse files
authored
refactor(cdk/a11y): remove InteractivityChecker ie11 special case (#23267)
As of v13, we no longer support IE11. Related to #7374
1 parent e8dd070 commit b714dec

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/cdk/a11y/interactivity-checker/interactivity-checker.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,6 @@ function hasValidTabIndex(element: HTMLElement): boolean {
208208
}
209209

210210
let tabIndex = element.getAttribute('tabindex');
211-
212-
// IE11 parses tabindex="" as the value "-32768"
213-
if (tabIndex == '-32768') {
214-
return false;
215-
}
216-
217211
return !!(tabIndex && !isNaN(parseInt(tabIndex, 10)));
218212
}
219213

0 commit comments

Comments
 (0)