Dotclear

Ticket #1939 (closed defect: wontfix)

Opened 11 years ago

Last modified 11 years ago

Widgets invalides W3C si utilisés avec thème XHTML 1.0 Strict

Reported by: Mirovinben Owned by: team
Priority: normal Milestone: 2.7
Component: module:plugins Version: dev
Severity: normal Keywords:
Cc:

Description

Si on utilise un thème DOCTYPE - XHTML 1.0 Strict avec Dotclear 2.7-dev-r2646, le valideur du W3C couine en signalant 2 erreurs :

Line xxx, Column xxx: there is no attribute "role".

Erreurs qui proviennent de deux widgets :

  • widget "search", ligne #31 du fichier_widgets_functions.php : role="search" ajouté à <form>
  • widget "navigation", ligne #52 du fichier_widgets_functions.php : role="navigation" ajouté à <ul>

Change History

comment:1 Changed 11 years ago by franck

  • Milestone changed from 2.7 to A definir

comment:2 Changed 11 years ago by franck

  • Status changed from new to closed
  • Resolution set to wontfix
  • Milestone changed from A definir to 2.7

Ça devient caduque puisqu'on a basculé sur HTML5 (ou l'attribut role="" est parfaitement valide).

Pour les thèmes encore en XHTML, je conseille de basculer sur la nouvelle DTD XHTML 1.1 + ARIA 1.0 :

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+ARIA 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-aria-1.dtd">
Note: See TracTickets for help on using tickets.

Sites map