Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Day 76: Project 15: Accessibility (Part Three)

Follow along at https://www.hackingwithswift.com/100/swiftui/76.


📒 Field Notes

This day covers Part Three of Project 15: Accessibility in the 100 Days of SwiftUI Challenge. (Project files associated with Project 15 can be found in the directory for Part One.)

In addition to recapping the material covered during the project's other days, Day 76 focuses on extending the project according to a set of challenges.


🥅 Challenges

Challenge 1

The check out view in Cupcake Corner uses an image that doesn’t add anything to the UI, so find a way to make the screen reader not read it out.

Challenge 2

Fix the steppers in BetterRest so that they read out useful information when the user adjusts their values.

Challenge 3

Do a full accessibility review of Moonshot – what changes do you need to make so that it’s fully accessible?

  • 🔗 Commit

  • I manually removed the isButton trait and add the isLink trait from the NavigationLink in the Missions List to have it read as a link. I'm not sure if this is a bug, though -- or if Button is actually supposed to be the official trait 🤔.

  • Using a decorative Image for each mission's insignia. A more advanced approach would be writing detailed visual descriptions of each insignia and supplying those for the accessibility label.

  • Using a decorative Image for each astronaut's photo on their details page.