field-url
フォーム 実際のフォームが取らせる状態で、人が文字を入力する欄を並べています。どれも余白のある rst-box の中に入っています。フォームを入れるカードがそれだからです。
example.com を https:// の有無にかかわらず受け付けるウェブアドレス欄です。スキームを補って住所を確かめるのは、フォームを読み取る側の仕事です。
どの例も実際に動きますが、リンクはどこにも移動しません。 HTML にはコピーできるマークアップがあります。
素のまま
これは <section rst-box><form rst-form> の中に置きます。
<div rst-field >
<label rst-field-label for ="fu_bare" >ウェブサイト</label >
<input rst-input id ="fu_bare" name ="fu_bare" type ="text" inputmode ="url" autocomplete ="url" autocapitalize ="none" autocorrect ="off" spellcheck ="false" >
</div >
ヒントつき
これは <section rst-box><form rst-form> の中に置きます。
<div rst-field >
<label rst-field-label for ="fu_hint" >会社のウェブサイト</label >
<input rst-input id ="fu_hint" name ="fu_hint" type ="text" inputmode ="url" autocomplete ="url" autocapitalize ="none" autocorrect ="off" spellcheck ="false" aria-describedby ="fu_hint-hint" >
<small rst-field-hint id ="fu_hint-hint" >https は省略できます。</small >
</div >
エラーつき
これは <section rst-box><form rst-form> の中に置きます。
<div rst-field >
<label rst-field-label for ="fu_error" >ウェブサイト</label >
<input rst-input id ="fu_error" name ="fu_error" type ="text" inputmode ="url" autocomplete ="url" autocapitalize ="none" autocorrect ="off" spellcheck ="false" value ="brightwater" aria-invalid ="true" aria-describedby ="fu_error-error" >
<small rst-field-error id ="fu_error-error" >example.com のようなウェブアドレスを入力してください。</small >
</div >