Thanks, you certainly got a point Dave, and while it's not relevant to this particular project I think it would be stupid of me to start building something I wont benefit from in future projects - where accessibility would matter more. I guess the right way is to use real form elements and if JS is enabled modify it like http://sandbox.wilstuckey.com/jquery-ratings/ . Need to look into that code how it's done...
dave.methvin wrote: > >> My real question is: since I am pretty new on the JS/Ajax >> scene - is my approach a good idea at all (i.e to have >> "formless" state) - would you instead create invisible >> form fields for keeping state and updating the "fancy >> divs" from the state of the those hidden form fields >> instead and then use the existing form plugin etc >> when posting etc. > > Unplug the mouse from the computer and try to use the page you have built. > Are you able to change values using only the keyboard? > > There is semantic meaning to form elements that tell both users and > assistive software that you are expecting input. The special form-like > elements you are building don't have that interpretation I suspect. > > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Formless-%28or-hopeless%29-programming-model-tf2650594.html#a7405969 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
