~/talk

Code, Layout & Design for Dynamic Type

Talkat AltConf 2019 · 2019-06-03..06-06· [accessibility, ux-and-product-design]
links:none on file
slides:none on file

Explains how to actually ship Dynamic Type: use UIContentSizeCategory and text styles (headline/body), call UIFont.preferredFont and UIFontMetrics + scaledFont for custom fonts, enable automatically adjustsFontForContentSizeCategory and set numberOfLines = 0, and observe changes in traitCollectionDidChange. Notes accessibility adds five larger steps, recommends automatic table row heights (automaticDimension + estimatedRowHeight), define a bottom constraint, use PDF assets for icons, and assumes everything must scroll; cites vision stats (myopia 42%, presbyopia ~100% by age 40, ~826M near‑vision impaired).

AI-written summary · about

  1. 0:00Intro
  2. 1:59Refractive Problems
  3. 4:02Presbyopia
  4. 5:4020/20 Vision
  5. 8:32Low Vision
  6. 9:26Vision Impairment
  7. 10:20What Is Dynamic Type?
  8. 12:52Settings Display & Brightness Text Size
  9. 13:23Add to Control Center
  10. 14:02Larger Accessibility Sizes
  11. 14:55UlFont.Text Style
  12. 19:001. Change font to semantic style
  13. 19:37Set to resize to fit
  14. 20:11Set to auto adjust
  15. 21:10Constraints
  16. 22:33Add another label
  17. 23:54Accessibility Inspector
  18. 26:13Text Elements
  19. 27:25UITextView
  20. 28:07Table Views
  21. 28:42Custom Table View Cells
  22. 29:47Adapting the Layout
  23. 31:43Responding to Change
  24. 33:28Switch to a More Vertical Layout
  25. 34:34"Freebies" for Accessibility Sizes
  26. 36:22You Will Anyway, Won't You?
  27. 38:16Custom Fonts
  28. 39:36Aside: Which Font Name?
  29. 40:06Apple Design Guidance
  30. 42:38Maximizing Width
  31. 43:43Everything Must Scroll
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.