Skip to content

Commit

Permalink
fix: primefaces#16591, InputNumber: InputNumber with horizontal and v…
Browse files Browse the repository at this point in the history
…ertical buttons are not accessible through keyboard.
  • Loading branch information
ANTONA09 committed Oct 19, 2024
1 parent 3f1e943 commit f0c43ab
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 f0c43ab

Please sign in to comment.