Skip to content

Commit f1c316f

Browse files
committed
fix Chromium compat issue by converting InternalProxyAnchor to inert element
1 parent 8f5b013 commit f1c316f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/web-components/src/anchor-button/anchor-button.base.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ export class BaseAnchor extends FASTElement {
228228

229229
private createProxyElement(): HTMLAnchorElement {
230230
const proxy = this.internalProxyAnchor ?? document.createElement('a');
231-
proxy.ariaHidden = 'true';
232-
proxy.tabIndex = -1;
231+
proxy.inert = true;
233232
return proxy;
234233
}
235234
}

0 commit comments

Comments
 (0)