Implementation of the attribute translation

There is some chance that some application will not work correctly anymore
if the application depend on the value of a <input type="submit"> button.
They shouldn't (they are basically booleans), anyway.