WordPress.org

Ready to get started?Download WordPress

Forums

Problem with Woo Commerce when I Validate (2 posts)

  1. vinsprinter
    Member
    Posted 1 year ago #

    Hi,
    Can anybody help me with this problem. I have installed Woo Commerce and when I go to Validate the pages on W3C I see these two errors that are directly related to Woo Commerce. I deactivated the plugin and they disappear. All help would be greatly appreciated.

    Here are the errors showing in W3C Validator.

    Error Line 109, Column 148: Attribute results not allowed on element input at this point.

    …/" class="input-text" placeholder="Search Products" value="" name="s" id="s" />

    Attributes for element input:
    Global attributes
    accept when type is file
    alt when type is image
    autocomplete when type is text, search, url, tel, e-mail, password, datetime, date, month, week, time, datetime-local, number, range, or color
    autofocus
    checked when type is checkbox or radio
    dirname when type is text or search
    disabled
    form
    formaction when type is submit or image
    formenctype when type is submit or image
    formmethod when type is submit or image
    formnovalidate when type is submit or image
    formtarget when type is submit or image
    height when type is image
    list when type is text, search, url, tel, e-mail, datetime, date, month, week, time, datetime-local, number, range, or color
    max when type is datetime, date, month, week, time, datetime-local, number, or range
    maxlength when type is text, search, url, tel, e-mail, or password
    min when type is datetime, date, month, week, time, datetime-local, number, or range
    multiple when type is email or file
    name
    pattern when type is text, search, url, tel, e-mail, or password
    placeholder when type is text, search, url, tel, e-mail, password, or number
    readonly when type is text, search, url, tel, e-mail, password, datetime, date, month, week, time, datetime-local, or number
    required when type is text, search, url, tel, e-mail, password, datetime, date, month, week, time, datetime-local, number, checkbox, radio, or file
    size when type is text, search, url, tel, e-mail, or password
    src when type is image
    step when type is datetime, date, month, week, time, datetime-local, number, or range
    type
    value when type is not file or image
    width when type is image

    Error Line 109, Column 148: Attribute autosave not allowed on element input at this point.

    …/" class="input-text" placeholder="Search Products" value="" name="s" id="s" />

    Please note that there are 2 errors Both pertaining to the "Search Products" from what I can see.

    Regards

    Vinsprinter

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You'll have to ask WooCommerce about anything related to the plugin:

    http://wordpress.org/support/plugin/woocommerce

    But not all validation errors are a problem and some may be unavoidable given browser differences and coding standards.

Topic Closed

This topic has been closed to new replies.

About this Topic