Skip to content

Commit f5d73e0

Browse files
committed
Removes unused tabindex
1 parent df955ed commit f5d73e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webviews/apps/shared/components/button.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class GlButton extends LitElement {
252252
if (this.href != null) {
253253
return html`<a
254254
class="control"
255-
tabindex="${this.disabled === false ? 0 : -1}"
255+
tabindex="${ifDefined(this.disabled === false ? undefined : -1)}"
256256
href=${this.href}
257257
@keypress=${(e: KeyboardEvent) => this.onLinkKeypress(e)}
258258
><slot name="prefix"></slot><slot class="label"></slot><slot name="suffix"></slot

0 commit comments

Comments
 (0)