Visualizzazione dei risultati da 1 a 7 su 7
  1. #1

    Mi aiutate per piacere a risolvere 1 errore di validazione ?

    Ciao a tutti,

    spero che qualcuno possa essermi di aiuto.

    Non riesco a validare correttamente una determinata pagina poichè dal validatore mi esce fuori 1 solo errore.

    Qualcuno può essere così gentile da dirmi cosa devo modificare ?

    Il link è questo:

    http://validator.w3.org/check?uri=ht....html&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.654


    Grazie infinite.

  2. #2
    Che messaggio ti da' il validatore?
    Fantasupermegafavolipermeramagicultra irresistibili
    4 10 30 100 1001 personaggi insuperabili fantaincredibili ultraimpossibili iperterribili irresistibili!!!

    "... a quell'età ... bastava un dito per fare la pace ..."
    fotine

  3. #3
    Ciao,

    ti ringrazio innanzitutto per la risposta.

    Il validatore mi da questo messaggio:

    " Line 241, Column 95: Attribute "aria-required" is not a valid attribute

    …ize="22" tabindex="1" aria-required='true' />

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash."


    E' un sito che gira sotto CMS Wordpress.

    L'url è http://www.tecnopassion.com/monitora...onitoring.html

    Grazie

  4. #4
    Come si vede da "but the document type you are using does not support that attribute for this element." ... devi togliere l'attributo aria-required dal codice.

    Come si faccia su WP veditela tu...
    Fantasupermegafavolipermeramagicultra irresistibili
    4 10 30 100 1001 personaggi insuperabili fantaincredibili ultraimpossibili iperterribili irresistibili!!!

    "... a quell'età ... bastava un dito per fare la pace ..."
    fotine

  5. #5
    Il problema è che l'attributo "aria-required" è stato creato proprio dal "Wai-Aria" (http://www.w3.org/WAI/intro/aria.php) per garantire maggiore accessibilità da parte di persone disabili.

    Non capisco come riuscire a validarlo, considerando che era già incluso nel codice originale di WP

    Grazie.

  6. #6
    Oh, beh, nella documentazione di ARIA che tu hai linkato, c'&egrave; il DOCTYPE che devi mettere se fai pagine XHTML 1.1 + ARIA.
    Tu hai messo un DOCTYPE XHTML Transitional invece di:
    codice:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+ARIA 1.0//EN"  "http://www.w3.org/MarkUp/DTD/xhtml-aria-1.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    Vedi un po' se mettendo questo DOCTYPE ti si aggiustano le cose!

    HTH
    Zappa
    [PC:Presario 2515EU][Cpu:P4@2.3GHz][Ram: 512M][HDU:80G@5400 RPM]
    [Wireless:LinkSys][OS: Ubuntu 9.04 - Jaunty Jackalope]

  7. #7
    Si, hai ragione, effettivamente l'errore scompare.

    Soltanto che mettendo il nuovo DOCTYPE mi escono errori differenti, 5 per la precisione.

    Mi sa che devo operare in questa direzione ...

    Ti ringrazio tantissimo per la dritta.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.