CivicDataLab / CivicDataLab/IDS-DRR-Frontend

[ACC-012] Date picker year input accepts values 1–9999 with no data-range validation

Open
#506 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.