Label 关联测验
单选题 简单
题目
How do you associate a <label> with an <input> for accessibility?
提示
One attribute on label 点到 输入's 唯一 identifier.
解释
The for attribute on the <label> must match the id of the <input>. This association lets screen readers announce the label when the input is focused, and lets clicking the label focus the input.
相关资源
相关课程
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。