diff --git a/src/lib/core/a11y/interactivity-checker.ts b/src/lib/core/a11y/interactivity-checker.ts index 8a40c1e4b8e6..7f879ac9e7a8 100644 --- a/src/lib/core/a11y/interactivity-checker.ts +++ b/src/lib/core/a11y/interactivity-checker.ts @@ -160,7 +160,7 @@ function isAnchorWithHref(element: HTMLElement): boolean { /** Gets whether an element is an input element. */ function isInputElement(element: HTMLElement): element is HTMLInputElement { - return element.nodeName == 'input'; + return element.nodeName.toLowerCase() == 'input'; } /** Gets whether an element is an anchor element. */