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

@@ -29,7 +29,7 @@
{form name="thelia.order.coupon"}
<form id="form-coupon" action="{url path="/order/coupon"}" method="post" role="form" {form_enctype form=$form}>
<form id="form-coupon" action="{url path="/order/coupon"}" method="post" {form_enctype form=$form}>
{form_hidden_fields form=$form}
@@ -163,7 +163,7 @@
{/form}
{form name="thelia.order.payment"}
<form id="form-cart-payment" action="{url path="/order/invoice"}" method="post" role="form" {form_enctype form=$form}>
<form id="form-cart-payment" action="{url path="/order/invoice"}" method="post" {form_enctype form=$form}>
{form_hidden_fields form=$form}