Remove role="form" on a form element.

Role Form should be use on a region of the document that  represents a collection of form-associated elements.
<div role=”form”></div> GOOD
<form role=”form”></form> BAD
This commit is contained in:
touffies
2013-11-08 10:54:03 +01:00
parent 555040fcab
commit ac76a206c1
17 changed files with 23 additions and 22 deletions

View File

@@ -16,7 +16,7 @@
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Password Forgotten"}</h1>
{form name="thelia.front.customer.lostpassword"}
<form id="form-forgotpassword" action="{url path="/password"}" method="post" role="form">
<form id="form-forgotpassword" action="{url path="/password"}" method="post">
<p>{intl l="Please enter your email address below."} {intl l="You will receive a link to reset your password."}</p>
{form_field form=$form field="email"}