diff --git a/src/stepper/stepper.ts b/src/stepper/stepper.ts index 1bf3bfb3..7ac583e3 100644 --- a/src/stepper/stepper.ts +++ b/src/stepper/stepper.ts @@ -32,6 +32,7 @@ export class Stepper extends LitElement { type="button" part="decrease-button" variant="ghost" + tabindex="-1" @click=${this.handleDecrease} ?disabled=${this.disabled || this.value <= this.min} > @@ -40,13 +41,22 @@ export class Stepper extends LitElement { .height=${iconSize} > -

${this.value}

- ${this.unit ? html`

${this.unit}

` : nothing} + + ${this.value} + ${this.unit ? html`${this.unit}` : nothing} + = this.max} >