Skip to content

Commit 35ffe3f

Browse files
committed
Add tabindex="-1" to login and logout buttons
1 parent 75b3010 commit 35ffe3f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/comment-widget/src/base-form.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ export class BaseForm extends LitElement {
163163
@click=${this.handleLogout}
164164
type="button"
165165
class="form-logout text-xs text-text-3 hover:text-text-1 px-3 transition-all py-2 rounded-base border border-muted-3 opacity-100 hover:border-muted-4 hover:opacity-70 border-solid"
166+
tabindex="-1"
166167
>
167168
${msg('Logout')}
168169
</button>
@@ -237,6 +238,7 @@ export class BaseForm extends LitElement {
237238
@click=${this.handleOpenLoginPage}
238239
class="form-login text-xs text-text-3 hover:text-text-1 px-3 transition-all py-2 rounded-base border border-muted-3 opacity-100 hover:border-muted-4 hover:opacity-70 border-solid"
239240
type="button"
241+
tabindex="-1"
240242
>
241243
${msg('Login')}
242244
</button> `

0 commit comments

Comments
 (0)