Commit 4b41c49d04916067426353bab3e0c56736856f7f

Authored by Cédric RICARD
1 parent 763be687

W3C compliance improving

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
calexium_lib/web/CXM_making_a_web_site.anubis
... ... @@ -3759,13 +3759,13 @@ define Printable_tree
3759 3759 "<select id=\"",id,"\" name=\"o",n,"\" size=\"",s,"\" ",format_attrs(opts),">",format_choices(cs),"</select>"],
3760 3760 selector(opts, label, id, n,s,cs,sd) then
3761 3761 ["<label for=\"",id,"\">",label,"</label>",
3762   - "<select name=\"o",n,"\" size=\"",s,"\" ",format_attrs(opts),">",format_choices(cs,sd),"</select>"],
  3762 + "<select id=\"",id,"\" name=\"o",n,"\" size=\"",s,"\" ",format_attrs(opts),">",format_choices(cs,sd),"</select>"],
3763 3763 selector_c(opts, label, id, n,s,cs) then
3764 3764 ["<label for=\"",id,"\">",label,"</label>",
3765   - "<select name=\"o",n,"\" size=\"",s,"\" ",format_attrs(opts),">",format_choices(cs),"</select>"],
  3765 + "<select id=\"",id,"\" name=\"o",n,"\" size=\"",s,"\" ",format_attrs(opts),">",format_choices(cs),"</select>"],
3766 3766 selector_c(opts, label, id, n,s,cs,sd) then
3767 3767 ["<label for=\"",id,"\">",label,"</label>",
3768   - "<select name=\"o",n,"\" size=\"",s,"\" ",format_attrs(opts),">",format_choices(cs,sd),"</select>"],
  3768 + "<select id=\"",id,"\" name=\"o",n,"\" size=\"",s,"\" ",format_attrs(opts),">",format_choices(cs,sd),"</select>"],
3769 3769  
3770 3770 radio_button(options, label_text, id, n, v, c) then
3771 3771 [ "<label for=\"",id,"\">",label_text,"</label>",
... ...