Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for 7 Ways to make your Tweets more Accessible
Lindsey Kopacz
Lindsey Kopacz

Posted on • Originally published ata11ywithlindsey.com

     

7 Ways to make your Tweets more Accessible

Originally posted onwww.a11ywithlindsey.com. In that post I've included videos with how it sounds to screen readers, but because they aren't hosted on youtube, I cannot link them here. Check them out on the original blog post!

I wrote a tweet thread a while back where I started talking about ways to keep accessibility in mind on the platforms we use such as Twitter. Sometimes we don’t have control over the platforms we use, and the best we can do is ensure our content is accessible. This tweet thread got a decent amount of attention, but unfortunately, it’s easy for things to get lost in the Twitterverse. I decided to write a blog post elaborating a bit more on each of the critical points I made while also ensuring that you could find them more easily.

Be careful with your emoji use

Thank 👏 you 👏 Kent! (don't do the clap thing either, it's a huge pain in screen readers)

— Marcy Sutton (@marcysutton)January 9, 2019

Marcy pointed out here how the clapping hands are actually a pain for screenreaders.

Here’s what it reads if you turn on your screenreader: “Thank clapping hands you clapping hands Kent.” Can you imagine if it was done between every single word on a longer sentence? I see passionate people do this all the time, particularly when they want to say something regarding social issues. I get torn between two worlds because I know how awful it is for screenreaders, but usually, there is a message behind the tweet that I support.

In general, we should be careful about our emoji use. I created a tweet just for the purposes of this blog post. If we clog an entire tweet with just emojis and no words it sounds like word vomit.

I love emojis, but let's not abuse them. We should use words more!

Don’t use special characters in your handle or your tweets

I’ve already mentioned this tweet in previous posts, but I’ll repeat it:

You 𝘵𝘩𝘪𝘯𝘬 it's 𝒸𝓊𝓉ℯ to 𝘄𝗿𝗶𝘁𝗲 your tweets and usernames 𝖙𝖍𝖎𝖘 𝖜𝖆𝖞. But have you 𝙡𝙞𝙨𝙩𝙚𝙣𝙚𝙙 to what it 𝘴𝘰𝘶𝘯𝘥𝘴 𝘭𝘪𝘬𝘦 with assistive technologies like 𝓥𝓸𝓲𝓬𝓮𝓞𝓿𝓮𝓻?pic.twitter.com/CywCf1b3Lm

— Kent C. Dodds (@kentcdodds)January 9, 2019

If you listen to his video, can you hear how much it doesn’t make any sense? It may not be as cute or as fancy, but it's usually a good idea to not try to use fonts that are unsupported on the platform. Twitter doesn't give you the ability to choose a font, so you shouldn't try without testing to ensure it works for everyone.

Enable Alternative Text on your Tweets

And actually use them! If you’re on your Desktop computer, you can enable them by:

  1. Click on your Profile Picture and go to Settings & Privacy
  2. Go to the Accessibility Section in the left sidebar
  3. Check “Compose image descriptions”

Look, I even recorded it for you!

Once you get this enabled, you should be able to see an “Add Description” on your images. Also, Twitter, why isn't this enabled by default?

Test your Profile’s Page Contrast

Have you ever tested the color contrast on your Twitter Profile theme? After checking the default themes on my Twitter profile, I discovered that they have shockingly poor contrast. I use theWebaim Color Contrast Checker to see what the contrast is. The minimum contrast for Large Text is 3:1 and for small text is 4.5:1. Here are the contrast colors:

  1. Orange Theme - The background color is#FE6A1F on a white foreground color which has a contrast of 2:88:1. (FAIL)
  2. Yellow Theme - The background color is#FAB81D on a white foreground color which has a contrast of 1.76:1. (FAIL)
  3. Light Mint Theme - The background color is#7FDBB6 on a white foreground color which has a contrast of 1.65:1. (FAIL)
  4. Mint Theme - The background color is#19CE86 on white foreground color which has a contrast of 2.06:1. (FAIL)
  5. Periwinkle Theme - The background color is#91D1FA on a white foreground color which has a contrast of 1.65:1. (FAIL)
  6. Blue Theme - The background color is#1A94E0 on a white foreground color which has a contrast of 3.30:1. (PASS large text only)
  7. Gray Theme - The background color is#ABB8C1 on a white foreground color which has a contrast of 2.03:1. (FAIL)
  8. Dark Pink Theme - The background color is#E81C4F on a white foreground color which has a contrast of 4.46:1. (PASS large text only)
  9. Light Pink Theme - The background color is#F58EA7 on a white foreground color which has a contrast of 2.26:1. (FAIL)
  10. Purple Theme - The background color is#981CEB on a white foreground color which has a contrast of 5.67:1. (PASS both large and small text)

So if you count that, out of 10 themes only 1 (!!) has a passing contrast on both large and small text. 2 pass with larger text. The rest fail. This stinks on Twitter's part, but you can also add your own custom HEX Color Code! I just changed mine to have it be one of the colors in my design on my site.

Twitter Theme Selector with a bunch of different rainbow colors to select for your profile.

Communicate with words, not symbols making a picture

“Today’s tea” seems to be pretty popular on Twitter, but I can’t stop thinking about what this sounds like on a screen reader.

Today's tea:
(
( ) )
_(_____)____(_____(____(_
\ Grad students /_
\ should be / |
\ paid livable /___|
\ wages for /
\ their hard /
\_ work _/

— Jay Shelat (@jshelat1)February 7, 2019

Because I couldn't stop thinking about it, I found a tweet and turned on my screen reader. I posted a videoon my blog about what it sounds like.

So, uh, yeah. Not sure how to fix it aside from not doing it.

Transcribe Memes and Gifs

As of this writing, there is no way to add alt text to gifs. I usually do this by typing in[gif alt: Descriptive phrase] in the body whenever I add a gif. Sometimes I see people respond back to me with a gif message and a gif alt back, and that makes my heart sing. You should do the same with Memes, especially once you have enabled Alternative Text on your photos using the tip above. (Source:Life of a Blind Girl: 6 ways to make your social media posts accessible for people with a visual impairment)

Capitalize the words in your hashtags

This one is new to me, but it makes a lot of sense. Without it, it makes a lot of screen readers mash up the words and sound like a jumbled mess. (Source:Life of a Blind Girl: 6 ways to make your social media posts accessible for people with a visual impairment)

Conclusion

I want to thank people who write blog posts like the one mentioned for the source of the last two sections. If you haven't already, I would read that article because there are items that I wanted to include, but this post was starting to get too long. Even as an accessibility person, I still have a ton to learn about these platforms. I have also learned a lot from great advocates in tech as well, such asMarcy Sutton,Deborah Edwards-Onoro, andTatiana Mac! Accessibility isn’t just about coding, it’s about real people who use products that have become everyday use and commonplace.

Remember to think before you tweet. Who are you potentially excluding from reading your Twitter content? If you have any thoughts on this post, feel free to reach out to me on, you guessed it,Twitter.

Top comments(12)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
itsjzt profile image
Saurabh Sharma
Fullstack Web developer.
  • Location
    Delhi, India
  • Work
    Fullstack Web Developer at Codeword Tech
  • Joined

Adding alt text to gifs, I will keep that in mind, thanks

CollapseExpand
 
lkopacz profile image
Lindsey Kopacz
I'm a self-taught Front End & JS Dev and professional learner with accessibility expertise. I'm passionate about breaking down concepts into relatable concepts, making it more approachable.
  • Joined

It's a really fun way to get creative too! I usually describe why I am using the gif!

CollapseExpand
 
deadcoder0904 profile image
Akshay Kadam (A2K)
Serial Maker 🦄 Open Source Enthusiast 😎 Writing Code in @reactjs, @reactnative, @nodejs Working on my very first Startup 🏇
  • Location
    Mumbai, India
  • Education
    Bachelor of Engineering
  • Work
    Computer Engineer
  • Joined

Thanks for the GIF one as I tend to use a lot of GIFs but don't know what to type as alt text. And the last one was new. Does it mean I have to write #HASHTAG like this?

Thread Thread
 
lkopacz profile image
Lindsey Kopacz
I'm a self-taught Front End & JS Dev and professional learner with accessibility expertise. I'm passionate about breaking down concepts into relatable concepts, making it more approachable.
  • Joined

No it’s more like if you have a hashtag that’s a phrase, capitalize the first letter of the word of the phrase

Thread Thread
 
itsjzt profile image
Saurabh Sharma
Fullstack Web developer.
  • Location
    Delhi, India
  • Work
    Fullstack Web Developer at Codeword Tech
  • Joined

like #LoveYouTwitter ?

Thread Thread
 
deadcoder0904 profile image
Akshay Kadam (A2K)
Serial Maker 🦄 Open Source Enthusiast 😎 Writing Code in @reactjs, @reactnative, @nodejs Working on my very first Startup 🏇
  • Location
    Mumbai, India
  • Education
    Bachelor of Engineering
  • Work
    Computer Engineer
  • Joined

Ohh sorry I just skimmed fast. Should've read it :)

CollapseExpand
 
moopet profile image
Ben Sinclair
I've been a professional C, Perl, PHP and Python developer.I'm an ex-sysadmin from the late 20th century.These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
  • Location
    Scotland
  • Education
    Something something cybernetics
  • Pronouns
    They/them
  • Work
    General-purpose software person
  • Joined
• Edited on• Edited

“Thank clapping hands you clapping hands Kent.”

That's what it sounds likein my head.

I have no idea what it's supposed to mean, either. Does it mean the person strongly agrees with, is sarcastically slow-clapping or is just being cutesy? I haven't the foggiest.

When I see someone say "I ❤️ :unidentified mammal: :100!: 🔥" I assume they're talking about a sportsball team, but even if I was familiar with the mascots for different locations, I'm going to struggle to work out whether you're talking about a beaver or an otter at the tiny pictogram sizes we're sharing. And it'll be different on different people's devices.

If I see more than the occasional smiley in someone's tweet, post, comment, whatever, I generally just skip the whole thing, and I bet I'm not the only one.

CollapseExpand
 
andypiper profile image
Andy Piper
Creative Technologist.Freelance #DevRel at #Mastodon.Friendly DEV moderator. LEGO fan. IoT hacker. MicroPython tinkerer.
  • Location
    Kingston upon Thames, London, UK
  • Education
    Modern History, Brasenose College, Oxford
  • Pronouns
    he/they
  • Work
    Freelance consultant; DevRel at Mastodon gGmbH; open to opportunities.
  • Joined

Hey Lindsey! Thanks for sharing these excellent tips - I'm hopeful that we'll see more people start to understand the importance. I admit that while I do have alternative text enabled, I am not very good at adding it - I've seen more people starting to do the alt thing with GIFs, too. Great advice here!

CollapseExpand
 
pinotattari profile image
Riccardo Bernardini
I graduated in 1990 in Electrical Engineering and since then I have been in university, doing research in the field of DSP. To me programming is more a tool than a job.
  • Location
    Udine, Italy
  • Education
    PhD (in DSP)
  • Joined

"Today's tea" when read by assistive technology sounds like some form of strange rap... I guess someone could make a song out of it... Nevertheless, I agree that it is best to avoid it.

CollapseExpand
 
jessicagarson profile image
Jessica Garson
Jessica Garson is a Python programmer, educator, and artist. She currently works at Elastic as a Developer Advocate. In her spare time, she is on a never-ending quest for the perfect vegan snack.
  • Location
    Brooklyn, NY
  • Work
    Developer Advocate at Elastic
  • Joined

Friend! This is so awesome!

CollapseExpand
 
steffenpedersen profile image
Steffen Pedersen
  • Joined
• Edited on• Edited

This is a really great article! I guess it depends on your target group. Some followers are expecting the newest and most trendy combination of emojis and symbols 🙃

CollapseExpand
 
silvestricodes profile image
Jonathan Silvestri
Enjoys JavaScript, React, and video games.
  • Location
    New York City
  • Work
    Frontend Developer at InVision
  • Joined

I'm having a hard time picking a good theme color. My current one passes for night mode but falls a little short on normal mode. Do you optimize for one over the other?

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

I'm a self-taught Front End & JS Dev and professional learner with accessibility expertise. I'm passionate about breaking down concepts into relatable concepts, making it more approachable.
  • Joined

More fromLindsey Kopacz

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp