Fixed a11y issue for Settings pane spinbuttons

This commit is contained in:
vaidankarswapnil 2022-01-25 09:14:39 +05:30
parent de5df90f75
commit 2dd20e793f

View File

@ -231,6 +231,8 @@ export const SettingsPane: FunctionComponent = () => {
onDecrement={(newValue) => setMaxDegreeOfParallelism(parseInt(newValue) - 1 || maxDegreeOfParallelism)}
onValidate={(newValue) => setMaxDegreeOfParallelism(parseInt(newValue) || maxDegreeOfParallelism)}
ariaLabel="Max degree of parallelism"
incrementButtonAriaLabel="Increase value by 1"
decrementButtonAriaLabel="Decrease value by 1"
/>
</div>
</div>