SQL: change buttons aria-label to title (#88744)

This commit is contained in:
Zoltán Bedi 2024-06-07 11:40:11 +02:00 committed by GitHub
parent 56ea7fd2c4
commit a1851b4c0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ function makeRenderColumn({ options }: { options?: Array<SelectableValue<string>
menuShouldPortal
onChange={({ value }) => value && onChangeItem(setGroupByField(value))}
/>
<AccessoryButton aria-label="Remove group by column" icon="times" variant="secondary" onClick={onDeleteItem} />
<AccessoryButton title="Remove group by column" icon="times" variant="secondary" onClick={onDeleteItem} />
</InputGroup>
);
};

View File

@ -150,7 +150,7 @@ export function SelectRow({ sql, format, columns, onSqlChange, functions }: Sele
/>
</EditorField>
<Button
aria-label="Remove"
title="Remove column"
type="button"
icon="trash-alt"
variant="secondary"
@ -164,9 +164,9 @@ export function SelectRow({ sql, format, columns, onSqlChange, functions }: Sele
type="button"
onClick={addColumn}
variant="secondary"
title="Add column"
size="md"
icon="plus"
aria-label="Add"
className={styles.addButton}
/>
</Stack>