Bonjour,
Ci dessous des modifications soumises à votre sagacité.
(La balise blink n'existe pas en w3-html-4.)
<strong>, à mon avis, c'est pas assez.
<blink> est utilisé en cas de problème sévère sur le site, pour
signaler une erreur.
un <strong> risque de passer inaperçu au milieu d'un <b>
ou autre, il
faudrait plutot un class avec un style genre bien rouge et bien
largemes 2 cts ...
À+, Pif.
Mais blink risque de ne pas être du tout rendu sur la page par le logiciel client web, donc il faudfrait remplacer les balises blink.
Si un strong n'est pas suffisant, on peut en ajouter évidement;
c'est une bonne idée.
Au hasard :
<strong class="alerte"> ... </strong>
et dans le css (c'est quel fichier d'ailleurs ? )
strong.alerte {color: red} /* sert à signaler un probleme grave */
PS: au fait, qu'en est il de la liste de courses des trucs pas
compliant/accessibles/... ?
http://groups.google.com/groups?selm=3f03f888$0$29651$626a54ce@news.free.fr
Ci dessous des passages de balises html en miniscule
( XHTML 1.0 : Le langage de balisage hypertexte extensible ).
diff -u inc-debug.php3
--- inc-debug.php3 Sat Aug 10 19:12:22 2002
+++ inc-debug.php3 Tue Oct 14 09:25:24 2003
@@ -19,9 +19,9 @@
if (!$table) return;
reset($table);
- echo "<UL>";
+ echo "<ul>";
while (list($key, $val) = each($table)) {
- echo "<LI>";
+ echo "<li>";
switch ($val->type) {
case 'boucle':
echo "<font color='red'><b>Boucle".$val->id_boucle."</b>: ".entites_html($val->commande);
@@ -41,9 +41,9 @@
echo "</li></ul>";
break;
}
- echo "</LI>";
+ echo "</li>";
}
- echo "</UL>\n";
+ echo "</ul>\n";
}
function affboucle($val) {
diff -u inc-formulaires.php3
--- inc-formulaires.php3 Thu Sep 04 11:28:10 2003
+++ inc-formulaires.php3 Tue Oct 14 09:31:04 2003
@@ -181,7 +181,7 @@
$passw = test_pass();
if ($refus == "oui") {
- $reponse_signature.= "<P><FONT COLOR='red'><B>"._T('form_pet_signature_pasprise')."</B></FONT><P>";
+ $reponse_signature.= "<p><strong><font color='red'>"._T('form_pet_signature_pasprise')."</font></strong></p>";
}
else {
$query_site = "SELECT titre FROM spip_articles WHERE id_article=$id_article";
@@ -197,7 +197,7 @@
$messagex = _T('form_pet_mail_confirmation', array('titre' => $titre, 'nom_email' => $nom_email, 'nom_site' => $nom_site, 'url_site' => $url_site, 'url' => $url));
if (envoyer_mail($adresse_email, _T('form_pet_confirmation')." ".$titre, $messagex)) {
- $reponse_signature .= "<P><B>"._T('form_pet_envoi_mail_confirmation')."</B>";
+ $reponse_signature .= "<p><b>"._T('form_pet_envoi_mail_confirmation')."</b>";
$nom_email = addslashes($nom_email);
$adresse_email = addslashes($adresse_email);
@@ -353,12 +353,12 @@
echo _T('form_forum_indiquer_nom_email');
$link = $GLOBALS['clean_link'];
echo $link->getForm('GET');
- echo "<P><B>"._T('form_pet_votre_nom')."</B><BR>";
- echo "<INPUT TYPE=\"text\" CLASS=\"forml\" NAME=\"nom_inscription\" VALUE=\"\" SIZE=\"30\">";
- echo "<P><B>"._T('form_pet_votre_email')."</B><BR>";
- echo "<INPUT TYPE=\"text\" CLASS=\"forml\" NAME=\"mail_inscription\" VALUE=\"\" SIZE=\"30\">";
- echo "<DIV ALIGN=\"right\"><INPUT TYPE=\"submit\" NAME=\"Valider\" CLASS=\"spip_bouton\" VALUE=\""._T('bouton_valider')."\">";
- echo "</DIV></FORM>";
+ echo "<p><b>"._T('form_pet_votre_nom')."</b><br>";
+ echo "<input type=\"text\" class=\"forml\" name=\"nom_inscription\" value=\"\" size=\"30\">";
+ echo "<p><b>"._T('form_pet_votre_email')."</b><br>";
+ echo "<input type=\"text\" class=\"forml\" name=\"mail_inscription\" value=\"\" size=\"30\">";
+ echo "<div align=\"right\"><input type=\"submit\" name=\"Valider\" class=\"spip_bouton\" value=\""._T('bouton_valider')."\">";
+ echo "</div></form>";
}
}
@@ -406,14 +406,14 @@
else {
$link = $GLOBALS['clean_link'];
echo $link->getForm('POST');
- echo "<P><div class='spip_encadrer'><B>"._T('form_prop_nom_site')."</B><BR>";
- echo "<INPUT TYPE=\"text\" CLASS=\"forml\" NAME=\"nom_site\" VALUE=\"\" SIZE=\"30\">";
- echo "<P><B>"._T('form_prop_url_site')."</B><BR>";
- echo "<INPUT TYPE=\"text\" CLASS=\"forml\" NAME=\"url_site\" VALUE=\"\" SIZE=\"30\"></div>";
- echo "<P><B>"._T('form_prop_description')."</B><BR>";
- echo "<TEXTAREA NAME='description_site' ROWS='5' CLASS='forml' COLS='40' wrap=soft></textarea>";
- echo "<DIV ALIGN=\"right\"><INPUT TYPE=\"submit\" NAME=\"Valider\" CLASS=\"spip_bouton\" VALUE=\""._T('bouton_valider')."\">";
- echo "</DIV></FORM>";
+ echo "<p><div class='spip_encadrer'><b>"._T('form_prop_nom_site')."</b><br>";
+ echo "<input type=\"text\" class=\"forml\" name=\"nom_site\" value=\"\" size=\"30\">";
+ echo "<p><b>"._T('form_prop_url_site')."</b><br>";
+ echo "<input type=\"text\" class=\"forml\" name=\"url_site\" value=\"\" size=\"30\"></div>";
+ echo "<p><b>"._T('form_prop_description')."</b><br>";
+ echo "<textarea name='description_site' rows='5' class='forml' cols='40' wrap=soft></textarea>";
+ echo "<div align=\"right\"><input type=\"submit\" name=\"Valider\" class=\"spip_bouton\" value=\""._T('bouton_valider')."\">";
+ echo "</div></form>";
}
}
diff -u inc-forum.php3
--- inc-forum.php3 Sun Sep 28 23:35:12 2003
+++ inc-forum.php3 Tue Oct 14 09:36:06 2003
@@ -51,7 +51,7 @@
$largeur = $taille[0];
$hauteur = $taille[1];
if ($largeur < 100 AND $hauteur < 100)
- return "<IMG SRC='$image' align='middle' WIDTH='$largeur' HEIGHT='$hauteur' HSPACE='1' VSPACE='1' ALT=' ' BORDER=0 class='spip_image'> ";
+ return "<img src='$image' align='middle' width='$largeur' height='$hauteur' hspace='1' vspace='1' alt=' ' border='0' class='spip_image'> ";
else return "";
} else {
return "";
@@ -158,10 +158,10 @@
$ret .= "\n<form action='$lien' name='formulaire' method='post'>";
if (strlen($texte) < 10 AND !$presence_mots) {
- $ret .= "<p align='right'><font color=red>"._T('forum_attention_dix_caracteres')."</font></p>\n";
+ $ret .= "<p align='right'><font color='red'>"._T('forum_attention_dix_caracteres')."</font></p>\n";
}
else if (strlen($titre) < 3 AND $afficher_texte <> "non") {
- $ret .= "<p align='right'><font color=red>"._T('forum_attention_trois_caracteres')."</font></p>\n";
+ $ret .= "<p align='right'><font color='red'>"._T('forum_attention_trois_caracteres')."</font></p>\n";
}
else {
$ret .= "\n<div align='right'><input type='submit' name='confirmer' class='spip_bouton' value='"._T('forum_message_definitif')."' /></div>";
@@ -283,7 +283,7 @@
$ret .= "\n<p /><div class='spip_encadrer' style='font-size: 80%;'>";
$ret.= "<b>$titre_groupe :</b>";
- $ret .= "<table cellpadding=0 cellspacing=0 border=0 width='100%'>\n";
+ $ret .= "<table cellpadding='0' cellspacing='0' border='0' width='100%'>\n";
$ret .= "<tr><td width='47%' valign='top'>";
$i = 0;
diff -u spip_cookie.php3
--- spip_cookie.php3 Sun Sep 28 00:38:18 2003
+++ spip_cookie.php3 Tue Oct 14 09:04:34 2003
@@ -180,6 +180,7 @@
}
else {
@header("Refresh: 0; url=" . $cible->getUrl());
+ echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';
echo "<html><head>";
echo "<meta http-equiv='Refresh' content='0; url=".$cible->getUrl()."'>";
echo "</head>\n";
diff -u spip_pass.php3
--- spip_pass.php3 Wed Oct 01 22:10:18 2003
+++ spip_pass.php3 Tue Oct 14 09:18:02 2003
@@ -86,13 +86,11 @@
echo $erreur;
else {
echo _T('pass_indiquez_cidessous');