@@Robert B.
<p><label>Es sind <input name="nDays" id="nDays" type="number" min="1" step="1" pattern="^[0-9]+$"/> Tage.</label></p>
Das HTML ist fehlerhaft.
“4.10.5.1.12. Number state (type=number)
… The following content attributes must not be specified and do not apply to the element: …, pattern, …” [Spec]
LLAP 🖖
--
“When UX doesn’t consider all users, shouldn’t it be known as ‘Some User Experience’ or... SUX? #a11y” —Billy Gregory
“When UX doesn’t consider all users, shouldn’t it be known as ‘Some User Experience’ or... SUX? #a11y” —Billy Gregory