TwXDesign

Dist 3.0.2

Squelettes SPIP 3 convertis en HLM5
Validé par http://html5.validator.nu/


Conversion du squelette de la dist de SPIP3 en version HTML5

Cet article présente les modifications nécessaires et permet de télécharger le zip résultant.

Les vérifications de conformité ont été faites avec http://html5.validator.nu

SPIP 3.0.2 Configuration de base, toutes options
version de la dist : 3.0.2

Global

▸ suppression PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

▸ suppression xmlns="http://www.w3.org/1999/xhtml" xml:lang="#LANG"

#PAGINATION

▸ Pagination Précédent/Suivant : [<p class="pagination">(#PAGINATION|{precedent_suivant}|vider_attribut{rel})</p>] // -> Attribute rel not allowed on element strong at this point.

Pour toutes les ancres :
▸ [(#ANCRE_PAGINATION|vider_attribut{name})] // -> The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.

▸ suppression name="forum" dasn breve.html et article.html

Tableaux SPIP

▸  inclure/petition.html

- suppression summary="<:signatures_petition:>" // -> The summary attribute is obsolete

- <th class="signature-date"> // -> th start tag in table body.
 >> reconstruction du tableau selon http://www.whatwg.org/specs/web-apps/current-work/#tabular-data

  • ajout <tr> et </tr> dans <thread> </thread> l.12, l.19->20
  • ajout <tbody> </tbody> après </thread> et avant </table>

▸  plugins-dist/textwheel/inc/texte.php

surcharge dans la dist :
>> l.414 suppression .$summary // -> The summary attribute is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table ; or, simplify the structure of the table so that no description is needed.

plugins-dist/textwheel/inc/notes.php

surcharge dans la dist :
ligne 145 suppression rel='footnote’ // -> Bad value footnote for attribute rel on element a : Keyword footnote is not registered
rev=’footnote’ // ->The rev attribute on the a element is obsolete. Use the rel attribute instead, with a term having the opposite meaning.
>> l.164 suppression rev=’footnote’

inclure/forum.html

- suppression :

  • name="comment#ID_FORUM" l.14
  • name="forum#ID_FORUM" l.15, 40
  • name="comment#ID_FORUM" l.39

- suppression self l.42 // -> Bad value self bookmark for attribute rel on element a : Keyword self is not registered

Formulaires

▸ suppression autocapitalize="off" autocorrect="off" // -> Attribute autocapitalize not allowed on element input at this point / Attribute autocorrect not allowed on element input at this point.

▸ formulaires/inscription.html

- remplacement <legend><:form_forum_identifiants:></legend> par <p class="legend"><:form_forum_identifiants:></p> + correction style.css l.55 car rejeté par W3C à cause du premier legend dans #INCLURE{fond=formulaires/inc-inscription-explication,env} /// pourquoi donc ???

▸ plugins-dist/forums/formulaires/forum.html

documents joints : accept="png,txt" // -> Bad value audio,image,video for attribute accept on element input : Expected a token character or / but saw , instead.

surcharge dans la dist :
l.89 remplacer accept="(#ENV{formats_documents_forum}|join{','})"] />

par accept="(#ENV{formats_documents_forum}|implode{'/*,'})/*"] /> // -> OK W3C /// ©denisb - irc

▸ plugins-dist/sites/formulaires/site.php
// -> Bad value http:// for attribute value on element input : A component that is required by the scheme is missing

l.17 remplacer 'url_site'=>'http://'
par 'url_site'=>''

Messages


Poster un message
Fermer
modération a priori

Ce forum est modéré a priori : votre contribution n’apparaîtra qu’après avoir été validée par un administrateur du site.

Qui êtes-vous ?
Votre message
  • Pour créer des paragraphes, laissez simplement des lignes vides.

Ajouter un document