sorry, I meant:
By the way: I added following row on functions.php:
add_filter( 'wpcf7_support_html5', '__return_false' );
Please try to explain why the first line of code fails validation with there is no attribute “aria required” error, the next two lines are ok and the last line of code fails validation with there is no attribute “aria required” error and there is no attribute “maxlength” error
<li><p>Il tuo nome (richiesto<a href="#richiesto"><sup><strong>1</strong></sup></a>)<br/><span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" size="30" maxlength="50" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" /></span></p>
<p>La tua email (richiesto<a href="#richiesto"><sup><strong>1</strong></sup></a>)<br/><span class="wpcf7-form-control-wrap your-email"><input type="text" name="your-email" value="" size="30" maxlength="50" class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email" aria-required="true" /></span></p>
<p>Oggetto (richiesto<a href="#richiesto"><sup><strong>1</strong></sup></a>)<br/><span class="wpcf7-form-control-wrap your-subject"><input type="text" name="your-subject" value="" size="30" maxlength="50" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" /></span></p>
<p>Il tuo messaggio (richiesto<a href="#richiesto"><sup><strong>1</strong></sup></a>)<br/><span class="wpcf7-form-control-wrap your-message"><textarea name="your-message" cols="43" rows="10" maxlength="512" class="wpcf7-form-control wpcf7-textarea wpcf7-validates-as-required" aria-required="true"></textarea></span></p>
Thanks
W3C reports aria-required as an error because it forces the user to put information somewhere. W3C thinks that the user should be free to decide if he wants to put information somewhere or does not.