fix: regex pattern in about.njk

This commit is contained in:
Derek L. Seitz 2025-08-20 11:20:08 -05:00
parent 2a8b9e2654
commit 0c3635ed4c
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ pageScripts:
<div class="phone"> <div class="phone">
<label for="phone">Phone:<span class="req-ask">*</span></label> <label for="phone">Phone:<span class="req-ask">*</span></label>
<input type="tel" id="phone" name="phone" placeholder="Ex. 111-333-4444" pattern="^(\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4})$" required aria-describedby="phone-error"> <input type="tel" id="phone" name="phone" placeholder="Ex. (111) 333-4444" pattern="^(\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4})$" required aria-describedby="phone-error">
<span class="error-message" id="phone-error" aria-live="polite"></span> <span class="error-message" id="phone-error" aria-live="polite"></span>
</div> </div>