Accessibility/ add autoComplete attributes#80214
Accessibility/ add autoComplete attributes#80214chiragsalian merged 8 commits intoExpensify:mainfrom
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@rushatgabhane @situchan So in general there's no option to allow multiple fields for autoComplete, so I guess we could choose one of the email or tel as autoComplete attribute.
Also currently datePicker does not support autoComplete feature, but datePicker is soon to be re-developed so I've added the autoComplete attribute here and here which would be reminder to implement autoComplete features for new datePicker input component. |
I am fine to use
Can you link to issue or discussion? |
|
https://expensify.enterprise.slack.com/archives/C01GTK53T8Q/p1768319127115199?thread_ts=1768190803.080029&cid=C01GTK53T8Q |
yeah that sounds good regarding phone vs email, we don't have to pick anything. we can choose one or do nothing best to ask @dubielzyk-expensify on slack |
@situchan's suggestion : I am fine to use email as it's popular. Curious for thoughts from others @dubielzyk-expensify could you provide a confirmation so we could move forward. |
|
I'm not sure what the right answer is here. Since we accept both number and email then I wonder if we should just not apply the autocomplete attribute at all. It doesn't quite make sense to me. cc @Expensify/design |
|
I think it would be good to go with email since that's likely to be the more popular option. But just for clarity, if we add autocomplete for email, the user would still be able to just type in their phone number same as today right? |
I kinda think we would just do nothing here so we don't have to pick one or the other, since both are equally acceptable for us. How does that work with accessibility though? Is that an option we have? |
|
I don't think there's a perfect answer. I see where Danny is coming from, but I'm thinking that we shouldn't add anything since there's no one right autocomplete. Accessibility rules just generally recommend doing it to ensure users have to type less than they need. Give them a helping hand. |
|
Cool cool, if you all both feel like we should just not autocomplete anything, that's totally fine with me. |
|
I really don't feel too strongly, so happy to let you all decide! |
…utocomplete-attributes
|
Cool. I say let's do nothing and move onto the next few issues |
|
Great, then PR should be ready for review within next 24 hrs. |
|
PR is kinda ready but I am unable to test it on iOS emulator. As emulator does not provide options to setup autofill. |
|
🚧 @chiragsalian has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
I was ooo today, I should update videos tomorrow. |
|
Please merge main |
|
Codex Review: Something went wrong. Try again later by commenting “@codex review”. ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
@codex review |
…utocomplete-attributes
|
Merged main Ready for review. |
|
Codex Review: Something went wrong. Try again later by commenting “@codex review”. ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
Please fix conflict and lint |
…utocomplete-attributes
|
Merged main, ready for final review |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2026-02-18.at.10.14.58.PM.mov |
|
🚧 @chiragsalian has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/chiragsalian in version: 9.3.24-1 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.3.24-3 🚀
|
Explanation of Change
Fixed Issues
$ #79246
PROPOSAL: #79246 (comment)
Tests
Same as QA.
Offline tests
Same as QA.
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Prerequisites: User has configured browser for autofill.
Test 1.
Address Line 1,Address Line 2andZIP / Postcodeinput fields and clicking a suggestion should autoComplete the input fields.Test 2. (Web-only test)
Test 3.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
WhatsApp.Video.2026-02-05.at.19.24.51.mp4
WhatsApp.Video.2026-02-05.at.19.24.48.mp4
Android: mWeb Chrome
WhatsApp.Video.2026-02-05.at.19.29.55.1.mp4
WhatsApp.Video.2026-02-05.at.19.29.55.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-01-29.at.5.13.50.PM.mov
Screen.Recording.2026-01-29.at.5.15.21.PM.mov