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 #5280: Disable the WeekNumber if all the corresponding week days are disabled #5291

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

balajis-qb
Copy link

Closes #5280

Description

As mentioned in the linked ticket, we have an accessibility issue with the weekNumber of week-picker. The week number hover stye is active for the numbers which don't have any week days enabled. So, in this PR I removed the hover style of the week number if all the corresponding week days of the week number are disabled and also added a test cases for it.

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.

@balajis-qb 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

+ 57
- 1

66% TSX (tests)
33% TSX
2% Markdown

Type of change

Fix - These changes are likely to be fixing a bug or issue.

Copy link

codecov bot commented Dec 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.92%. Comparing base (407051c) to head (9df321f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5291   +/-   ##
=======================================
  Coverage   96.92%   96.92%           
=======================================
  Files          29       29           
  Lines        3377     3386    +9     
  Branches     1400     1415   +15     
=======================================
+ Hits         3273     3282    +9     
+ Misses        104      102    -2     
- Partials        0        2    +2     

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

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 and matches the description

Image of Xiaoyong W Xiaoyong W


Reviewed with ❤️ by PullRequest

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.

Week number buttons accessibility issue
1 participant