tekvision / waiable

Rails Web Accessibility Initiative for the differently abled.
MIT License
16 stars 6 forks source link

Depricate aria-labelledby #25

Closed shan9101 closed 9 years ago

shan9101 commented 9 years ago

Aria-labelledby property is useful when it is required to associate multiple labels with single form control. But when there is 1 to 1 association between label and form control it is better to use for attribute with &<'label&>' element. &<'label for = "input_id" &>' This &<'label&>' element provide additional functionality as clicking on the label willselect the associated form control which is not supported by aria-labelledby. This functionality provide accessibility to motor impaired users where sometimes it is difficult to select the field (like checkbox ). Article reference: http://webaim.org/techniques/forms/advanced

shan9101 commented 9 years ago

Removed aria-labelledby property. This issue is closed.