• coatedpill

    (@coatedpill)


    Hello guys .
    How do I fix this issue ?

    " id attribute value must be unique " in menu 
    <li id="menu-item-1463" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-2 current_page_item uabb-creative-menu uabb-cm-style">
    <li id="menu-item-1441" class="menu-item menu-item-type-post_type menu-item-object-page uabb-creative-menu uabb-cm-style"><a href="http://plantfoodsystems.sandwdigital.com/about-us/"><span class="menu-item-text">About Us</span></a></li>
    <li id="menu-item-1022" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children uabb-has-submenu uabb-creative-menu uabb-cm-style">
    <li id="menu-item-1909" class="menu-item menu-item-type-post_type menu-item-object-page uabb-creative-menu uabb-cm-style"><a href="http://plantfoodsystems.sandwdigital.com/agriculture/"><span class="menu-item-text">Agriculture</span></a></li>
    <li id="menu-item-1908" class="menu-item menu-item-type-post_type menu-item-object-page uabb-creative-menu uabb-cm-style"><a href="http://plantfoodsystems.sandwdigital.com/turf-and-ornamentals/"><span class="menu-item-text">Turf and Ornamentals</span></a></li>
    <li id="menu-item-2901" class="menu-item menu-item-type-post_type menu-item-object-page uabb-creative-menu uabb-cm-style"><a href="http://plantfoodsystems.sandwdigital.com/all-products/"><span class="menu-item-text">All Products</span></a></li>
    <li id="menu-item-1437" class="menu-item menu-item-type-post_type menu-item-object-page uabb-creative-menu uabb-cm-style"><a href="http://plantfoodsystems.sandwdigital.com/research/"><span class="menu-item-text">Research</span></a></li>
    <li id="menu-item-1440" class="menu-item menu-item-type-post_type menu-item-object-page uabb-creative-menu uabb-cm-style"><a href="http://plantfoodsystems.sandwdigital.com/whats-new/"><span class="menu-item-text">What’s New</span></a></li>
    <li id="menu-item-1439" class="menu-item menu-item-type-post_type menu-item-object-page uabb-creative-menu uabb-cm-style"><a href="http://plantfoodsystems.sandwdigital.com/contact/"><span class="menu-item-text">Contact</span></a></li>
    <input type="text" id="inline-search" name="s" class="fl-inline-search inline-search" value="Search" onfocus="if (this.value == 'Search') { this.value = ''; }" onblur="if (this.value == '') this.value='Search';">

    Thanks for anyone that can help .

    • This topic was modified 5 years, 8 months ago by Jan Dembowski.
Viewing 7 replies - 1 through 7 (of 7 total)
  • crstauf

    (@crstauf)

    I don’t see a non-unique value for the id attribute in the above code. When and where do you see that error?

    Michael

    (@alchymyth)

    possibly refers to: <input type="text" id="inline-search"

    do you have another search form in the same page?

    Thread Starter coatedpill

    (@coatedpill)

    @crstauf

    via lighthouse . Please see attached image .

    @alchymyth

    There s only one search form .

    https://imgur.com/a/AcRTTwC

    Michael

    (@alchymyth)

    where does this warning message come from? are you using some kind of test for your site?

    checking the html code of your web page, there is an output of the one menu with identical items twice, however in different containers which would not show at the same time.

    double check with the develper of your theme if there is a real problem with this ‘duplicate ids’ message.

    Thread Starter coatedpill

    (@coatedpill)

    @alchymyth

    Yes . I try to run an audit test via lighthouse in google webDev tools and using also an Accessibility Suite plugins which has the same results .

    I’ll try to contact them .

    Thanks for your response .

    Regards
    piLL

    crstauf

    (@crstauf)

    @coatedpill I took a look at http://plantfoodsystems.sandwdigital.com/, and don’t see the error in Console; were you able to get it fixed?

    Yes . I try to run an audit test via lighthouse in google webDev tools and using also an Accessibility Suite plugins which has the same results.
    I’m also facing some problems here Root Wellness

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘id attribute value must be unique’ is closed to new replies.