Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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>

View HTML markup on github

 

  • No labels