Enable anchor-has-content rule (#10908)

This commit is contained in:
Kamil Gabryjelski
2020-09-16 22:27:52 +02:00
committed by GitHub
parent 2a5946d117
commit 281305e0cf
3 changed files with 7 additions and 3 deletions

View File

@@ -170,7 +170,11 @@ class TableElement extends React.PureComponent {
/>
{table.selectStar && (
<CopyToClipboard
copyNode={<a className="fa fa-clipboard pull-left m-l-2" />}
copyNode={
<a aria-label="Copy">
<i aria-hidden className="fa fa-clipboard pull-left m-l-2" />
</a>
}
text={table.selectStar}
shouldShowText={false}
tooltipText={t('Copy SELECT statement to the clipboard')}