Using “label for” on radio buttons

前端 未结 3 568
深忆病人
深忆病人 2020-12-04 14:05

When using the \"label for\" parameter on radio buttons, to be 508 compliant*, is the following correct?

 
3条回答
  •  再見小時候
    2020-12-04 14:18

    You almost got it. It should be this:

    
    

    The value in for should be the id of the element you are labeling.

提交回复
热议问题