Hello
Since a few days I’m using {ajax} for inclusions as described in http://www.spip.net/en_article3995.html.
It works fine. However, when checking the validity of the html on http://validator.w3.org/ I’m getting now a bunch of ugly error messages such as
there is no attribute « aria-live »
–><div class=‹ ajaxbloc › aria-live=‹ polite › aria-atomic=‹ true › data-ajax-env='…
Same for « aria-atomic », « data-ajax-env », « data-origin » and may be some more (haven’t checked all pages).
Any help?
Greetings, Ulric
Suske
(Suske)
2
Le 16/07/13 11:24, Ульрих a écrit :
*there is no attribute "aria-live"*
--><div class='ajaxbloc' aria-live='polite' aria-atomic='true'
data-ajax-env='…
Same for "aria-atomic", "data-ajax-env", "data-origin" and may be some
more (haven't checked all pages).
Did you check html5 in the SPIP Configuration (Advanced) ?
Any help?
These are html5 tags...
--
Suske
Thank you, that solved this problem.
It is a good idea to allow HTML 5. SPIP however does not follow all the new rules of HTML 5.
E.g., warning from W3C:
The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
<a name='pagination_liste' id='pagination_liste'></a>
Talking about errors, this is an old one:
& did not start a character reference. (& probably should have been escaped as &.)
…p"><li> <a href="spip.php?page=article&id_article=567" class='spip_in'>Survey<…
On 18 Jul 2013, at 08:39, Suske wrote:
Le 16/07/13 11:24, Ульрих a écrit :
*there is no attribute "aria-live"*
--><div class='ajaxbloc' aria-live='polite' aria-atomic='true'
data-ajax-env='…
Same for "aria-atomic", "data-ajax-env", "data-origin" and may be some
more (haven't checked all pages).
Did you check html5 in the SPIP Configuration (Advanced) ?
Any help?
These are html5 tags...
--
Suske
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en