Skip to content

Commit 7f14f33

Browse files
committed
fix(suir): add default aria label for field array redo/undo
1 parent d03ed0c commit 7f14f33

File tree

2 files changed

+55
-242
lines changed

2 files changed

+55
-242
lines changed

packages/suir-component-mapper/src/field-array/field-array.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ const DynamicArray = ({ ...props }) => {
228228
<Button
229229
icon="undo"
230230
className="ddorg__suir__mapper__field-array-undo"
231+
aria-label="undo"
231232
{...UndoButtonProps}
232233
type="button"
233234
disabled={state.index === 0}
@@ -236,6 +237,7 @@ const DynamicArray = ({ ...props }) => {
236237
<Button
237238
icon="redo"
238239
className="ddorg__suir__mapper__field-array-redo"
240+
aria-label="redo"
239241
{...RedoButtonProps}
240242
type="button"
241243
disabled={state.index === state.history.length}

0 commit comments

Comments
 (0)