tekvision / waiable

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

Correct the implementation of label's id attribute #18

Open Sanghapal opened 9 years ago

Sanghapal commented 9 years ago

The <label> tag needs to have an id attribute. This has been implemented but the current implementation doesn't override the label_tag method. The current way of implementation necessitates continual updation of our implemented method as per updates to Rails core method. We need to change the implementation such that label_tag is overridden and not duplicated.