-
Notifications
You must be signed in to change notification settings - Fork 13k
fix: FileUpload initial focus order
#35889
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
Conversation
|
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: ea8ffbb The changes in this PR will be included in the next version bump. This PR includes changesets to release 36 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
apps/meteor/client/views/room/modals/FileUploadModal/FileUploadModal.tsx
Show resolved
Hide resolved
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #35889 +/- ##
===========================================
+ Coverage 61.15% 61.17% +0.02%
===========================================
Files 3013 3161 +148
Lines 71589 74707 +3118
Branches 16397 16679 +282
===========================================
+ Hits 43779 45704 +1925
- Misses 24841 25903 +1062
- Partials 2969 3100 +131
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
e50f61a to
49339fc
Compare
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀 Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
FileUpload initial focus order
|
@kody start-review |
Kody Review CompleteGreat news! 🎉 Keep up the excellent work! 🚀 Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Proposed changes (including videos or screenshots)
In order to be a11y full compliant we removed the forced focus on the description input to follow the natural DOM order and it created some bad usability and frustrations to a lot of users.
Forcing the focus is technically compliant, but slightly deviates from the natural tab order starting at the top. Screen reader users will still encounter the elements in the DOM order, but the initial focus will be different. Since this a simple modal, with only two inputs, this will not to be a major issue.
Issue(s)
Steps to test or reproduce
Further comments
CORE-1102