-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HOLD for payment 2024-10-25] [Hold for Payment 2024-10-23][$125] Web - Blue border appears on a radio button when pressing a keyboard #49501
Comments
Triggered auto assignment to @abekkala ( |
@abekkala FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.Blue border gets shown on the radio button What is the root cause of that problem?The component RadioButton doesn't have The same problem occurs when we click on the text next to the radio button. What changes do you think we should make in order to solve the problem?Add App/src/components/RadioButton.tsx Lines 32 to 39 in d009d8e
App/src/components/RadioButtonWithLabel.tsx Lines 52 to 61 in d009d8e
What alternative solutions did you explore? (Optional) |
@abekkala Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Edited by proposal-police: This proposal was edited at 2024-09-24 05:40:28 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.A blue outline appear in the radio button when using keyboard. What is the root cause of that problem?It's expected that the blue outline will show when using a keyboard, but I think the issue here is with the styling of the outline. Instead of circle, the outline is a square. We have similar issue like this before in #32400 on a different page/component. In our case, the border style of the radio button is applied to the View inside the pressable. App/src/components/RadioButton.tsx Lines 31 to 40 in a7a408f
So, when we focus on the pressable, the square outline is shown because it's not styled to be a circle. What changes do you think we should make in order to solve the problem?We can move the whole style from the View to the pressable and just remove the View. This will fix the issue with the RadioButton component. However, I still see this issue with another component, specifically in the start chat page. It was previously fixed in #32400, but the page doesn't use OptionRow component anymore, so we need to re-fix it using the same solution from #35028. We can even go further by creating a new component called SelectCircleButton to make the fix DRY and replace all usage of |
@abekkala Eep! 4 days overdue now. Issues have feelings too... |
Job added to Upwork: https://www.upwork.com/jobs/~021839026052320413685 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
@ntdiary we already have a couple proposals for review! 🎉 |
I personally think it's fine to show the blue border, as it aligns with WCAG, and Also, there are many other places in our app where a blue border is displayed when using the keyboard demo.mp4We can change the border shape to circle if need, as @bernhardoj suggested. |
I agree with this. I wouldn't mind if we changed the shape to a circle but honestly I don't feel super strongly. Let's see if @dubielzyk-expensify has any strong feelings. |
Yeah agree. This is standard accessibility practise from what I'm aware of, so I'm fine with the blue border |
ah ok - so if design is fine with the blue border I'll close this one! |
Yeah the Before looks a bit weird there. If we could fix that, that would be nice |
I agree—the after in your post looks much better. |
@abekkala hi, can you check the comments above, please? |
Reopening so that this change can be made (square to circle) |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@OfstadC I'm going ooo until Oct 20 - assigning a BZ buddy to look over this until I return. STATUS: @ntdiary has just selected a proposal for fix. @luacmartins will review to confirm that it's the best for fixRemoved Bug label again as this is not linked to a project, just a design fix |
Agree with #49501 (comment). Let's keep the components separate for now. |
Upwork job price has been updated to $125 |
PR is ready cc: @ntdiary |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.50-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-10-25. 🎊 For reference, here are some details about the assignees on this issue:
|
I'm back from ooo - unassigning @OfstadC |
PAYMENT SUMMARY FOR OCT 25
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Requested in ND. |
This is a simple Radio UI improvement, not an issue introduced by another PR, and I’m inclined not to create a regression test for this issue. :) |
$125 approved for @bernhardoj |
Closing as last cont. payment will be for @ntdiary [$125] via NewDot |
$125 approved for @ntdiary |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.38-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): applausetester+nl619@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
No blue border is visible
Actual Result:
Blue border gets shown on the radio button
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6608851_1726748749178.bandicam_2024-09-19_15-19-32-447.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @OfstadC / @abekkalaThe text was updated successfully, but these errors were encountered: