For locales with left to right reading order, if the accessibility setting, VoiceOver, is enabled, the reading order of the calendar days should be left to right or in numeric order (or from the first day in the calendar forward). This is potentially an issue for users with a vision impairment that, for example, rely on swiping through app features.
To replicate this issue on the simulator, do the following:
Steps assume Xcode 8.x...
- Download, build and run the latest SwiftExample project/app (as of 11/1/2016).
- Click InterfaceBuilder or LoadView.
- From the Xcode menu, select Open Developer Tool > Accessibility Inspector.
- Place the simulator and Accessibility Inspector side by side (see video below).
- From the top left drop-down menu on the Accessibility Inspector, select your running simulator.
- Click the Inspection icon if it's not already selected (circle with an i in the center).
- Click the crosshairs icon (if you hover over it, you'll see the tooltip, Start inspection follows point).
- Click on any day on the calendar to inspect it. (A light green rectangle should display around the day.)
- Under QuickLook on the Accessibility Inspector, use the left or right arrows to navigate.
Result:
Notice that the traversal direction is top to bottom (or bottom to top). This corresponds to the same reading order in VoiceOver. If you are able to deploy the SwiftExample on a device, you can enable VoiceOver and swipe through the days to confirm the reading order is the same.
Here is a video demonstrating the issue.
For our current project, providing a fully accessible calendar is a hard requirement, so we will have to modify (fork) FSCalendar to ensure the days are read in numeric order (or from the first day in the calendar forward)...unless this can be changed soon or at least made an option.
For locales with left to right reading order, if the accessibility setting, VoiceOver, is enabled, the reading order of the calendar days should be left to right or in numeric order (or from the first day in the calendar forward). This is potentially an issue for users with a vision impairment that, for example, rely on swiping through app features.
To replicate this issue on the simulator, do the following:
Steps assume Xcode 8.x...
Result:
Notice that the traversal direction is top to bottom (or bottom to top). This corresponds to the same reading order in VoiceOver. If you are able to deploy the SwiftExample on a device, you can enable VoiceOver and swipe through the days to confirm the reading order is the same.
Here is a video demonstrating the issue.
For our current project, providing a fully accessible calendar is a hard requirement, so we will have to modify (fork) FSCalendar to ensure the days are read in numeric order (or from the first day in the calendar forward)...unless this can be changed soon or at least made an option.