Skip to content

Commit

Permalink
fix: error A control must be associated with a text label
Browse files Browse the repository at this point in the history
  • Loading branch information
chenos committed Dec 7, 2023
1 parent 38241fd commit bafd574
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/slots/Header/HeaderExtral.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,14 @@ const HeaderExtra: FC = () => {
<div>
{github ? (
<Tooltip title="Github">
<a key="github" href={github} target="_blank" rel="noreferrer">
<a
role="button"
aria-label="GitHub"
key="github"
href={github}
target="_blank"
rel="noreferrer"
>
<button css={[style.btn]} type="button">

Check failure on line 65 in src/slots/Header/HeaderExtral.tsx

View workflow job for this annotation

GitHub Actions / publish

A control must be associated with a text label
<GithubOutlined />
</button>
Expand Down

0 comments on commit bafd574

Please sign in to comment.