From 043faa36ee0fe1d99c22df197b204c279bf1c777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20Nyga=CC=8Ard?= Date: Sat, 18 Nov 2023 13:07:58 +0200 Subject: [PATCH] remove default aria-label from share buttons https://github.com/nygardk/react-share/issues/397 --- .changeset/fair-maps-thank.md | 5 +++++ src/ShareButton.tsx | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changeset/fair-maps-thank.md diff --git a/.changeset/fair-maps-thank.md b/.changeset/fair-maps-thank.md new file mode 100644 index 00000000..a65d5544 --- /dev/null +++ b/.changeset/fair-maps-thank.md @@ -0,0 +1,5 @@ +--- +"react-share": major +--- + +Removed default `aria-label` prop from `ShareButtons`. Before it defaulted to the name of the "network name" (e.g. "facebook" for Facebook). Issue explained [here](https://github.com/nygardk/react-share/issues/397). diff --git a/src/ShareButton.tsx b/src/ShareButton.tsx index f78def02..886bd3b0 100644 --- a/src/ShareButton.tsx +++ b/src/ShareButton.tsx @@ -189,7 +189,6 @@ export default function ShareButton> return (