tekvision / waiable

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

aria-labelledby implementation : to do or not to do #27

Open shan9101 opened 9 years ago

shan9101 commented 9 years ago

Aria-labelledby property is useful when we have to associate multiple label elements with single form control.When there is one to one association with label and form control, for attribute with label element can do the job. Plus it provide additional feature as clicking on the label will select the associated form control. If we add aria-labelledby for all the cases then this additional feature will not be implemented.This feature is also useful for motor impaired users when it is difficult to select small form controls (like checkbox, radio button). It would be great if rails developers give us examples of use cases where it is necessary to associate multiple labels with a single form control. Depending on the community feedback we would try to implement aria-labelledby feature.

shan9101 commented 9 years ago

We are going to implement aria labelledby for radio button, checkboxes and date_select fields. Please refer to issue #33 for details.