Challenge: Accessibility Support
Built-in widgets provide support for accessibility options like TalkBack and Switch Access. Creating your own widgets places the responsibility on you as the developer to make sure your app is accessible. As a final challenge for this chapter, make your BoxDrawingView describable with TalkBack for low-vision users.
There are several ways you can approach this. You could provide an overall summary of the view and tell the user how much of the view is covered in boxes. Alternatively, you could also make each box an accessible element and have it describe its location on the screen to the user. Refer to Chapter 18 for more information on making your apps accessible.