spec checked

MDN WebOTP API

Documents phone-number verification with one-time passwords from specially formatted SMS messages, user-consented OTP retrieval, secure-context requirements, cancellation behavior, and use of autocomplete one-time-code with inputmode numeric for SMS-code fields.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Confirm phone Choose confirm phone when the product must prove that the user can receive a time-limited text-message or voice code at an already captured number. The confirmation page states why phone access is required, what channel was used, and what phone number is being confirmed when disclosure is safe. MDN supports SMS OTP retrieval behavior and one-time-code autocomplete for phone-code confirmation fields.

Evidence Role

This source is treated as spec evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: MDN Web Docs. Last checked: .