tekvision / waiable

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

Implementing aria options as hash of hash instead of key value pair #26

Closed shan9101 closed 9 years ago

shan9101 commented 9 years ago

Currently we have implemented aria properties as key-value pair, for example: options["aria-describedby"]=element id Now, this technique cannot handle multiple element ids. Consider a situation when we have to show both tooltip and error message , we have to reference multiple ids in aria describedby. To facilitate this we will implement aria properties as hash of hash. For example: options["aria"]["describedby"] = [id1, id2]

shan9101 commented 9 years ago

Successfully implemented aria options as hash of hashes. Closing this Issue.