aleksanderwozniak / table_calendar

Highly customizable, feature-packed calendar widget for Flutter
Apache License 2.0
1.85k stars 1k forks source link

This PR fixes ADA screen reader issues for days outside the current month in the calendar. #885

Open queendevelopers opened 5 months ago

queendevelopers commented 5 months ago

Previously, the screen reader would announce "Text" on iOS for outside days when visibility is set to false, and on Android, users were able to tap the blank cells. This PR resolves these issues by returning a Container widget at the earliest possible stage. As a result, no GestureDetector is created, and the cells are not tappable. This ensures a better user experience and ADA compliance. Thank you.