• Hi,

    I mentioned it in a topic about accessibility errors but I reckon it could help if I do a list of the W3C errors as well (some are both accessibility and W3C errors):

    1. Missing alt attribut on img
    <img src="https://aepsilon.com/wp-content/plugins/job-postings/images/close.svg">
    <img class="add" src="https://aepsilon.com/wp-content/plugins/job-postings//images/add.svg">
    <img class="jobs-sending" src="https://aepsilon.com/wp-content/plugins/job-postings//images/loading.svg">

    2. Attribute placehoder is only allowed on input type email, number, password, search, tel, text or url
    <input id="label-file_cv" type="file" accept=".pdf,.doc,.odt" name="input_file_cv" data-jobinput="file_cv" class="inputfile modal-input-file input-file_cv input-reqired" placeholder="">

    3. Attribute type not allowed on element textarea
    <textarea id="input-textarea_message" type="text" name="input_textarea_message" data-jobinput="textarea_message" class="modal-input-text input-textarea_message " placeholder="">

    4. The for attribute of the label element must refer to a non-hidden form control
    <label class="input-label" for="input-checkbox_consentement">
    Maybe I don’t use the form settings correctly for this one.

    5. Element p not allowed as child of element span
    Not always, but some block seems to generate a <p></p> tag even if it’s not visible in HTML editor and if you have SPAN as an HTML tag for content it will throw this error.

    6.Duplicate attribute width and height and ID

    <svg width="0px" height="0px" version="1.1" id="Capa_1" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" width="0px" height="0px" x="0px" y="0px"?
    	 viewBox="0 0 54.757 54.757" style="enable-background:new 0 0 54.757 54.757;" xml:space="preserve">

    Hope you’ll be able to fix some of these or help if it’s not on your part. Thanks in advance.

  • The topic ‘W3C errors’ is closed to new replies.