なぜ失敗するか
アプリを行き来して数字を覚えるのは負担です(Miller, 1956; Krol et al., 2015)。
自動入力と貼り付け
one-time-code(MDN, n.d.-a)、WebOTP(MDN, n.d.-b)、SMS Retriever(Google, n.d.)。分割欄でも一つの入力として扱うのがエラー防止の基本です。
再送・期限・アクセシビリティ
短い有効期限(NIST, 2024)と残り時間を表示。延長手段(WCAG 2.2 2.2.1)と貼り付け許可(3.3.8)。生体認証も選択肢です。
よくある質問
- 6分割すべき?
- 見た目は良いですが一つの入力として処理します。
- 届かない時は?
- 再送・番号確認・別手段を順に示します。
出典確認日:2026-10-27
参考文献
- MDN Web Docs. (n.d.-a). HTML attribute: autocomplete. Mozilla. one-time-codeの自動補完です。
- MDN Web Docs. (n.d.-b). WebOTP API. Mozilla. WebでのSMS自動取得です。
- Google. (n.d.). SMS Retriever API overview. Google for Developers. AndroidのSMS取得APIです。
- Krol, K., Philippou, E., De Cristofaro, E., & Sasse, M. A. (2015). "They brought in the horrible key ring thing!" Analysing the usability of two-factor authentication in UK online banking. In Proceedings of the Workshop on Usable Security (USEC 2015). Internet Society. 二要素認証の負担の研究です。
- National Institute of Standards and Technology. (2024). Digital identity guidelines: Authentication and authenticator management (NIST SP 800-63B-4). OTPの有効期限とSMSの限界です。
- Miller, G. A. (1956). The magical number seven, plus or minus two: Some limits on our capacity for processing information. Psychological Review, 63(2), 81–97. 6桁を覚えて移す難しさです。
- World Wide Web Consortium. (2023). Web Content Accessibility Guidelines (WCAG) 2.2. 2.2.1と3.3.8の基準です。
