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 @@
{block name="contact-form"}
{form name="thelia.front.contact"}
<form id="form-contact" action="{url path="/contact"}" method="post" role="form">
<form id="form-contact" action="{url path="/contact"}" method="post">
{form_hidden_fields form=$form}
<fieldset id="contact-info" class="panel">
<div class="panel-heading">