On my current project the business owners are ramming AJAX, jQuery etc down my throat. There is a requirement for 4 seperate forms for different policy types.
They want the user to be able to switch between these without visible page refresh and also generate more form content when certain submit buttons are pressed e.g. when a parent adds a child to the form.
I have issues with this as i do not think it is accessible i.e. if the switching is done via AJAX without page refresh then how does a screen reader user know which tab/form they are on. Is there a way to make this accessible?
I also do not think it is secure as there will be database connectivity and therefore the user on the client side could alter the javascript and try to maliciously break the database/page.
I am trying to compile some reasons why it should not be done like this but was wondering if there was anything other than accessibility and security.
Also, as back up this will all be done on the server side anyway so i don;t really feel that javascript adds much here other than being quicker.