HorizonCalendar icon indicating copy to clipboard operation
HorizonCalendar copied to clipboard

[Accessibility] Selecting days using Voice Over does not work for custom DayViews

Open Blackjacx opened this issue 2 years ago • 0 comments

I already testsed this with version 1.14.2 which is the newest at the moment.

When I have a calendar with custom content for:

  • month header
  • week of day header
  • days

the selection of days does not work anymore when I swipe through the views using Voice Over. As you can see we have days that are not selectable in the screenshot below. The first problem is:

  • as soon as I set e.g. invariantViewProperties.highlightShapeDrawingConfig.fillColor = .red the days become unselectable (not sure what the one has to do with the other)
  • when I comment this line days become selectable but also the inactive ones. It would be cool when inactive days are skipped automatically by VO. A simple solution would be to offer to set isAccessibilityElement in DayOfWeekView.InvariantViewProperties like we can do it on DayOfWeekView.InvariantViewProperties 🤓

5C78B0DA-4466-4689-B3E9-5EC3BE1D2DA4

Blackjacx avatar Nov 28 '22 14:11 Blackjacx