Support » Accessibility » Form/Search Box Label

  • The Search form is throwing an ADA compliance error, and I can’t get <label> to have any effect in searchform.php, which is where I think the label is supposed to go.

    Current code is:
    <form action=”<?php echo esc_url( get_site_url() );?>” method=”get” class=”search-form”>
    <input type=”text” name=”s” id=”s” value=”<?php the_search_query(); ?>” class=”keyword”/>
    <button type=”submit” class=”button”><i class=”flora-icon-search”></i></button>

    And I’ve added <label for=”s”>Search this website…</label> in every possible spot.

    Does anyone know how to resolve this issue?

    Thanks in advance,

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Andrew Nevins


    Volunteer support

    Unfortunately this isn’t something we can help with because you’re using a commercial theme and we don’t support those. Can you contact the theme authors/ distributors about this problem?



    Checked the theme. Saw no problem.

    Moderator Andrew Nevins


    Volunteer support

    Try deactivating all of your plugins to explore whether any could be responsible.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.