tekvision / waiable

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

Wrap validation error message with a span element having an id #24

Closed sidnc86 closed 9 years ago

sidnc86 commented 9 years ago

The validation error messages are available in Rails views. the corresponding error message can be iterated and embedded into any kind of html elements. But we need to ensure that the validation message is by default wrapped inside a span element so thatthe message can be identified using naming convention that can be mapped with the naming convention of the input field.