Skip to content

fix: Date range picker alert not focused on error#4355

Open
SpyZzey wants to merge 1 commit intomainfrom
dev-v3-sbrebeck-fix-AWSUI-61790
Open

fix: Date range picker alert not focused on error#4355
SpyZzey wants to merge 1 commit intomainfrom
dev-v3-sbrebeck-fix-AWSUI-61790

Conversation

@SpyZzey
Copy link
Copy Markdown
Member

@SpyZzey SpyZzey commented Mar 13, 2026

Description

In the date range picker, when a user enters an invalid date range, and presses the 'Apply' button, an error message appears. Currently, this is not being focused, creating inaccessible experiences.

Related links, issue #, if available: [AWSUI-61790]

Before

Focus stays on 'Apply' button.

Screen.Recording.2026-03-13.at.15.05.39.mov

After

Focus goes to the Alert.

Screen.Recording.2026-03-13.at.15.05.52.mov

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.44%. Comparing base (b398201) to head (5861f43).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4355   +/-   ##
=======================================
  Coverage   97.44%   97.44%           
=======================================
  Files         897      897           
  Lines       26402    26406    +4     
  Branches     9528     9530    +2     
=======================================
+ Hits        25728    25732    +4     
  Misses        668      668           
  Partials        6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@SpyZzey SpyZzey marked this pull request as ready for review March 18, 2026 10:35
@SpyZzey SpyZzey requested a review from a team as a code owner March 18, 2026 10:35
@NathanZlion NathanZlion removed the request for review from a team March 19, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant