Skip to content

Commit

Permalink
Fix #5269: InputNumber buttons add aria-hidden (#5275)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Nov 10, 2023
1 parent 30d1472 commit 92607ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/lib/inputnumber/InputNumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,8 @@ export const InputNumber = React.memo(
onKeyDown: (e) => onUpButtonKeyDown(e),
onKeyUp: onUpButtonKeyUp,
disabled: props.disabled,
tabIndex: -1
tabIndex: -1,
'aria-hidden': true
},
ptm('incrementButton')
);
Expand Down Expand Up @@ -1130,7 +1131,8 @@ export const InputNumber = React.memo(
onKeyDown: (e) => onDownButtonKeyDown(e),
onKeyUp: onDownButtonKeyUp,
disabled: props.disabled,
tabIndex: -1
tabIndex: -1,
'aria-hidden': true
},
ptm('decrementButton')
);
Expand Down

0 comments on commit 92607ee

Please sign in to comment.