Support » Theme: Graphene » Search widget not accessible

  • Using “achecker.ca” to test accessibility of a WordPress site, I got the following warning regarding the core Search widget:

    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.

    WAVE gives a similar error. The HTML it flagged was:

    <input type=”text” name=”s” class=”form-control” placeholder=”Search”>

    The core widget does provide a label tag, but your theme overrides that. Could we please put it back, or add a title attribute as suggested by the testing tool?

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

Viewing 1 replies (of 1 total)
  • Theme Author silverks

    (@silverks)

    Thanks for the feedback. We’ll add the label tag for the search form in the next theme update.

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