Skip to content

Commit

Permalink
fix: #16591, InputNumber: InputNumber with horizontal and vertical bu…
Browse files Browse the repository at this point in the history
…ttons are not accessible through keyboard. (#16592)

Co-authored-by: ANTONA09 <[email protected]>
  • Loading branch information
akshayaqburst and ANTONA09 authored Nov 18, 2024
1 parent e96e41c commit 7add389
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/components/inputnumber/inputnumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()"
Expand All @@ -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()"
Expand All @@ -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()"
Expand All @@ -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()"
Expand Down

0 comments on commit 7add389

Please sign in to comment.