diff --git a/src/app/components/inputnumber/inputnumber.ts b/src/app/components/inputnumber/inputnumber.ts index 83f4824d11e..95ec49c2624 100644 --- a/src/app/components/inputnumber/inputnumber.ts +++ b/src/app/components/inputnumber/inputnumber.ts @@ -114,7 +114,7 @@ export const INPUTNUMBER_VALUE_ACCESSOR: any = { class="p-button-icon-only" [class]="incrementButtonClass" [disabled]="disabled" - tabindex="-1" + tabindex="0" (mousedown)="onUpButtonMouseDown($event)" (mouseup)="onUpButtonMouseUp()" (mouseleave)="onUpButtonMouseLeave()" @@ -136,7 +136,7 @@ export const INPUTNUMBER_VALUE_ACCESSOR: any = { class="p-button-icon-only" [class]="decrementButtonClass" [disabled]="disabled" - tabindex="-1" + tabindex="0" [attr.aria-hidden]="true" (mousedown)="onDownButtonMouseDown($event)" (mouseup)="onDownButtonMouseUp()" @@ -160,7 +160,7 @@ export const INPUTNUMBER_VALUE_ACCESSOR: any = { [class]="incrementButtonClass" class="p-button-icon-only" [disabled]="disabled" - tabindex="-1" + tabindex="0" [attr.aria-hidden]="true" (mousedown)="onUpButtonMouseDown($event)" (mouseup)="onUpButtonMouseUp()" @@ -183,7 +183,7 @@ export const INPUTNUMBER_VALUE_ACCESSOR: any = { class="p-button-icon-only" [class]="decrementButtonClass" [disabled]="disabled" - tabindex="-1" + tabindex="0" [attr.aria-hidden]="true" (mousedown)="onDownButtonMouseDown($event)" (mouseup)="onDownButtonMouseUp()"