UI/HTML Bug: OTP Verification Page Allows Infinite Digits in the 8th Input Box #199562
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Other
Body
I found a UI/UX bug on the GitHub Account Verification page (https://github.com/account_verifications). The 8th input field for the launch code accepts an infinite string of numbers, which breaks the visual layout of the page.
Root Cause:
The input fields are currently configured with <input type="number" ... maxlength="1">. In HTML5, browsers completely ignore the maxlength attribute on type="number" inputs. Because the 8th box does not auto-advance the cursor via JavaScript (since it's the last box), the user can continuously type digits into it.
Steps to Reproduce:
Go to https://github.com/account_verifications to verify a new account.
Enter a single digit in boxes 1 through 7.
In the 8th box, continue pressing a number key (e.g., "1").
Notice that the box accepts multiple digits and breaks the UI.
Environment:
OS: Windows 11
Browsers Tested: Google Chrome, Microsoft Edge (100% Reproducible)
Suggested Fix:
Change the input type to tel or text and use a pattern attribute: .
GitHub_OTP_UI_Bug.zip
Beta Was this translation helpful? Give feedback.
All reactions