Visitar URL original
USWDS - Bug: Date Picker Widget does not use Aria-Current to indicate current date · Issue #6546 · uswds/uswds · GitHub
Skip to content

USWDS - Bug: Date Picker Widget does not use Aria-Current to indicate current date #6546

Closed

Description

@sslater2002

Describe the bug

The current date or month is not programmatically indicated, making it difficult for users relying on assistive technologies to identify the current date or month within a calendar or date picker.
The current date is currently only visually indicated with the usa-date-picker__calendar__date--today class. Users that use a screen reader will not be informed to identify the current date or month, leading to confusion and inefficiency in navigating date-related content.

Steps to reproduce the bug

  1. Navigate to https://designsystem.digital.gov/components/date-picker/
  2. Select the date-widget icon and open up the calendar widget
  3. Right click the highlighted date and select inspect from dropdown
  4. The inspect menu should appear with the html focused on the highlighted element.
  5. The presence of aria-current is missing despite a class of the element of the element being usa-date-picker__calendar__date--today

Expected Behavior

aria-current is used to convey that the initial focused date is the current date
Example: 15

Related code

No response

Screenshots

Image

System setup

  • USWDS 3.12
  • Dell
  • Windows 11
  • Edge Version 142.0.3595.94

Additional context

No response

Code of Conduct

Activity

  1. added
    Needs: ConfirmationReported behavior needs validation. Remove after recording reproduction or investigation results.
    on Dec 4, 2025
  2. daresTheDevil commented on Mar 27, 2026

    @daresTheDevil
    Contributor

    Confirmed this. The today button gets the usa-date-picker__calendar__date--today class but no aria-current attribute. Screen readers have no programmatic way to identify it.

    Added aria-current="date" to the today button during calendar rendering. Only the today button gets it, no other dates are affected. All 273 date picker tests pass (4 new).

    PR incoming.

  3. added a commit that references this issue on Mar 27, 2026
    1e1809e
  4. added
    Affects: Accessibility 🟡Affects access for disabled users or assistive tech. Record the barrier; not a severity score.
    and removed
    Needs: ConfirmationReported behavior needs validation. Remove after recording reproduction or investigation results.
    on Jun 18, 2026
  5. added
    Package: Date PickerWork affecting Date Picker. Apply only when this area helps route or find the issue.
    on Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Affects: Accessibility 🟡Affects access for disabled users or assistive tech. Record the barrier; not a severity score.Package: Date PickerWork affecting Date Picker. Apply only when this area helps route or find the issue.Status: AcceptedLegacy workflow marker.

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions