CivicDataLab / CivicDataLab/IDS-DRR-Frontend
[ACC-012] Date picker year input accepts values 1–9999 with no data-range validation
Open
@Abhishekfm is already working on this.
Since Jun 22, 2026.
accessibility
bug
section.analytics
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 1
Description
Summary
The year spinbutton in the Analytics date picker has max="9999" and no lower bound. Users can navigate to years with no data available, receiving no feedback or error.
Fix
Set aria-valuemin to the earliest available data month per state and aria-valuemax to the current month. Programmatically block out-of-range values and display a tooltip when an invalid year is entered.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.