From 2d082b96a608bcb15f4b560e16bb1e404c1d9f30 Mon Sep 17 00:00:00 2001 From: Joachim Robert Date: Wed, 6 Feb 2019 10:29:35 +0100 Subject: [PATCH] Accessibility: share buttons should be elements only, not nested buttons #96 --- components/Button/style.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Button/style.js b/components/Button/style.js index 37dbe8a..7ea0786 100644 --- a/components/Button/style.js +++ b/components/Button/style.js @@ -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};