Merge pull request #1 from cheeaun/patch-1

Better aria-label
This commit is contained in:
Stefan Bohacek 2024-05-17 21:59:02 -04:00 committed by GitHub
commit 9fb72f08a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ Add the following snippet to where you want your sharing button to show up:
name="fediverse-domain" name="fediverse-domain"
placeholder="mastodon.social" placeholder="mastodon.social"
class="fsb-input fsb-domain" class="fsb-input fsb-domain"
aria-label="Amount (to the nearest dollar)"> aria-label="Server domain">
<button class="fsb-button" <button class="fsb-button"
type="submit"><img src="https://fediverse-share-button.stefanbohacek.dev/fediverse-share-button/icons/mastodon.svg" type="submit"><img src="https://fediverse-share-button.stefanbohacek.dev/fediverse-share-button/icons/mastodon.svg"
class="fsb-icon"></span>Share</button> class="fsb-icon"></span>Share</button>

View file

@ -79,7 +79,7 @@
name="fediverse-domain" name="fediverse-domain"
placeholder="mastodon.social" placeholder="mastodon.social"
class="fsb-input fsb-domain" class="fsb-input fsb-domain"
aria-label="Amount (to the nearest dollar)"> aria-label="Server domain">
<button class="fsb-button" <button class="fsb-button"
type="submit"><img alt="Fediverse platform logo" src="./fediverse-share-button/icons/mastodon.svg" type="submit"><img alt="Fediverse platform logo" src="./fediverse-share-button/icons/mastodon.svg"
class="fsb-icon"></span>Share</button> class="fsb-icon"></span>Share</button>