Starter 要做什麼
先看見缺口,再完成一個小修改。
本主題檔案:files/index.html
定位:把 aria-describedby 以空白拆成 ids,逐一 document.getElementById。
Starter · code-edit
先看見缺口,再完成一個小修改。
先看見缺口,再完成一個小修改。
本主題檔案:files/index.html
定位:把 aria-describedby 以空白拆成 ids,逐一 document.getElementById。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
input 已指向 email-help email-error,aria-invalid=false;兩個描述節點存在。
runtime attribute 由false變true;required facts ariaInvalid=true、describedByExists=true。
<input aria-invalid="true" aria-describedby="email-help email-error"><p id="email-error">請輸入有效 Email</p>只在本階段資料夾內操作,避免改到其他章節。
index.htmlstyle.cssmain.js證據:before=false、after=true、ariaInvalid=true、describedByExists=true
前往 Checkpoint →