Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #4400 Keyboard accessibility MonthYearPicker #4692

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

lasseklovstad
Copy link
Contributor

@lasseklovstad lasseklovstad commented Apr 15, 2024

Description

Linked issue: #4400

Problem
Focus calender month when the user presses down or up arrow keys in input field. This makes Datepicker accessible when only using keyboard.

Contribution checklist

  • I have followed the contributing guidelines.
  • I have added sufficient test coverage for my changes.
  • I have formatted my code with Prettier and checked for linting issues with ESLint for code readability.

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ This pull request was sent to the PullRequest network for review. Expert reviewers are now being matched to your request based on the code's requirements. Stay tuned!

What to expect from this code review:
  • Comments posted to any areas of potential concern or improvement.
  • Detailed feedback or actions needed to resolve issues that are found.
  • Turnaround times vary, but we aim to be swift.

@lasseklovstad you can click here to see the review status or cancel the code review job.

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PullRequest Breakdown

Reviewable lines of change

+ 23
- 1

79% JavaScript (tests)
21% JavaScript

Type of change

Minor Update - These changes appear to be a minor update to existing functionality and features.

@lasseklovstad lasseklovstad changed the title Keyboard accessibility MonthYearPicker fix: #4400 Keyboard accessibility MonthYearPicker Apr 15, 2024
Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simlpe enough - this change seems to do that the descriptions says. Good job adding a test!

Image of Jacques Jacques


Reviewed with ❤️ by PullRequest

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good to me and matches the description on MonthYearPicker, aka supporting Down/Up Arrow keys

Image of Xiaoyong W Xiaoyong W


Reviewed with ❤️ by PullRequest

Copy link

codecov bot commented Apr 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.08%. Comparing base (4500100) to head (65ea2f6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4692      +/-   ##
==========================================
+ Coverage   97.00%   97.08%   +0.07%     
==========================================
  Files          28       28              
  Lines        2641     2644       +3     
  Branches     1119     1139      +20     
==========================================
+ Hits         2562     2567       +5     
+ Misses         79       77       -2     

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

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.

2 participants