Sommer Panage Profile picture
Nov 3, 2021 9 tweets 3 min read Read on X
Multi-day 🧵! Got SO many good questions during today’s #TechTalks21 for #Accessibility - I’m going to try to remember as many as I can and share some of the answers that came up over the next few days. Hopefully my memory proves strong!
1️⃣ Some Qs came up around accessibilityCustomActions. The goal of custom actions for VO, SC etc is to reduce UI clutter for the user. So, they’re great to use if your UI (like a cell) has a primary action already (like a nav action) and then many sub-actions as buttons.
1️⃣ Custom Actions can also be great for visually hidden UI (like the slide-over actions on cells) or gesture based UI. Lastly, they can be good for repeated UI (i.e. if every cell in your table has the same buttons, they’d likely be good as actions for the cell). More tomorrow!
2️⃣ We got some other great Qs around dynamic type. What do you do if your layout is not very flexible? Can you disable dynamic type? No! Def don’t do this! Dynamic type can be the difference between someone using your app and not. In fact, this is why I always say that…
2️⃣ …auto layout / flexible layouts are a hidden accessibly feature. They allow your text to grow and wrap as needed. So (1) always use flexible layouts — these benefit not just dynamic type, but localization and varying device sizes too! Another key we talked about (2) stacking!
2️⃣ …Once you hit the larger content size categories, consider moving form a horizontal to a vertically stacked and scrolling layout. You can even check with isAccessibilityCategory! To see this in action, check out Weather app (👏🏻 to @NovallSwift and team)!
3️⃣ What about dynamic type for custom fonts? You’ll want to map a configuration of your font to each of our text styles — then you can use UIFontMetrics to figure out the scale factor and scale correctly! This article is fantastic: useyourloaf.com/blog/using-a-c…
4️⃣ How do you change the default action when you double-tap and item with Voiceover on? You can override an API called accessibilityActivate!
5️⃣ What’s an #accessibility feature I wish more devs knew about? Smart Invert! But rather than tell you more myself, huge shoutout to @kharrison for writing this 🤩 awesome post about it:

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Sommer Panage

Sommer Panage Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(