Only <input>, <option> and <button> elements will pass a value attribute in a form submission. Your best bet may be to use a <button> instead of an <a>, or put the value in a hidden form element (either would need to be inside the <form> tag):
<input type="hidden" name="action" value="auto">
Hard to give much more help without having any context for your code snippet.