mirror of
https://github.com/brianlovin/security-checklist.git
synced 2026-03-11 08:55:31 +00:00
Accessibility: share buttons should be <a> elements only, not nested buttons #96
This commit is contained in:
parent
94dd42a566
commit
2d082b96a6
1 changed files with 2 additions and 2 deletions
|
|
@ -225,7 +225,7 @@ export const ButtonSegmentRow = styled.div`
|
|||
}
|
||||
`;
|
||||
|
||||
export const FacebookButton = styled.button`
|
||||
export const FacebookButton = styled.span`
|
||||
${base}
|
||||
border: 1px solid ${theme.social.facebook};
|
||||
color: ${theme.bg.default};
|
||||
|
|
@ -266,7 +266,7 @@ export const FacebookButton = styled.button`
|
|||
}
|
||||
`;
|
||||
|
||||
export const TwitterButton = styled.button`
|
||||
export const TwitterButton = styled.span`
|
||||
${base}
|
||||
border: 1px solid ${theme.social.twitter};
|
||||
color: ${theme.bg.default};
|
||||
|
|
|
|||
Loading…
Reference in a new issue