sotirisa Posted January 16, 2021 Share Posted January 16, 2021 Γεια σε όλους έχω το εξής θέμα που προσπαθώ να λύσω: Check 57: input element, type of "text", missing an associated label. Repair: Add a label element that surrounds the control's label. Set the for attribute on the label element to the same value as the id attribute of the control. And/or add a title attribute to the input element. And/or create a label element that contains the input element. Line 262, Column 4: <input type="text" name="s" value="" data-all-text="Show all results" data-blog-t ... Line 437, Column 9: <input type="text" name="s" value="" placeholder="Αναζήτηση" ... Ο κώδικας για την πρώτη περίπτωση είναι: <!-- Block search module TOP --> <div id="search_widget" class="search-widget" data-search-controller-url="https://amea.taftaf.gr/el/module/iqitsearch/searchiqit"> <form method="get" action="https://amea.taftaf.gr/el/module/iqitsearch/searchiqit"> <div class="input-group"> <input type="text" name="s" value="" data-all-text="Show all results" data-blog-text="Blog post" data-product-text="Product" data-brands-text="Μάρκα" placeholder="Search our catalog" class="form-control form-search-control" /> <button type="submit" class="search-btn"> <span class="fa fa-search"></span> </button> </div> </form> </div> <!-- /Block search module TOP --> Και στην δεύτερη: <!-- Block search module TOP --> <form method="get" action="https://amea.taftaf.gr/el/module/iqitsearch/searchiqit"> <div class="input-group"> <input type="text" name="s" value="" placeholder="Αναζήτηση" data-all-text="Show all results" data-blog-text="Blog post" data-product-text="Product" data-brands-text="Μάρκα" class="form-control form-search-control"> <button type="submit" class="search-btn"> <span class="fa fa-search"></span> </button> </div> </form> <!-- /Block search module TOP --> Μήπως γνωρίζει κανείς πως μπορώ να το κάνω αυτό μου λέει;; Σας ευχαριστώ... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now