Visual Example
Acceptance Criteria
Use native and semantic HTML markup in connection with form related buttons.
As a screen reader and keyboard only user I should be able to activate any form related buttons by either pressing the “ENTER” key or “Spacebar” on the keyboard.
Screen readers announce the nested text for <button>
elements, and the value
attribute for input buttons.
Markup and Code
<input type="submit" name="submit" value="Submit"> <button>Add Hours</button> <button>Next</button>