Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #228 from w3c/yatil-dev-structure-form-exsample
Browse files Browse the repository at this point in the history
Thou shalt not alter the form’s role
  • Loading branch information
iadawn committed Sep 17, 2015
2 parents 6076134 + 338821d commit fab718e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions source/developing.html.erb.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,13 @@ Use appropriate mark-up for headings, lists, tables, etc. HTML5 provides additio
<div class="mark-up">
<figure>
<% html_example do %>
<form action="" role="search">
<label for="search">Search</label>
<input type="search" aria-describedby="search-help">
<div id="search-help">Search records by customer id or name</div>
<button type="submit">Go</button>
<form action="">
<div role="search">
<label for="search">Search</label>
<input type="search" id="search" aria-describedby="search-help">
<div id="search-help">Search records by customer id or name</div>
<button type="submit">Go</button>
</div>
</form>
<% end %>
</figure>
Expand Down

0 comments on commit fab718e

Please sign in to comment.