WebAIM - Web Accessibility In Mind

E-mail List Archives

Dynamically added controls

for

From: Mobins Thomas
Date: Mar 18, 2013 11:55PM


Hey
I have data grid in a page and an Add Button.By clicking the add button, new controls dynamically added from the client side.
eg.
State CodeAmount [Dropwdown][TextBox] [Dropwdown][TextBox] [Dropwdown][TextBox] [Add Button]
At present i have modified js scripts in order to add 'title' attribute to the dynamically added controls.The title attribute will receive the Header name as value.
In this case title='State Code' & title='Amount' to the respective controls.
Is this approach correct to make it ADA compliance?
Please suggest me if there is another method to make dynamically added controls ADA Compliance.
Regards & ThanksMobins