Skip Navigation

[Resolved] search input field does not have a matching label

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 1 year, 11 months ago.

Assisted by: Minesh.

Author
Posts
#2550447
Screenshot 2023-02-08 at 3.14.39 PM.png

I am trying to: To be ADA compliant, I tested my site with the Chrome WAVE extension. On page like hidden link, the extension reports that the search field on the left and the min/max date don't have the matching label.

To be more specific, the Search label field looks like <label class="wpv-custom-search-filter__label" for="post-search">Modify your search</label>. So it's for "post-search". But the input field below, it looks like <input type="text" name="wpv_post_search" class="js-wpv-filter-trigger-delayed form-control">. As you can see there is no id field. According to the compliance document, the label for field should match the input ID field.

For the date min field, the label is <label class="wpv-custom-search-filter__label" for="wpcf-publish-date_min">From</label>, while the input field looks like <input type="text" id="wpv_control_textfield_wpv-wpcf-publish-date_min" name="wpv-wpcf-publish-date_min" value="" class="js-wpv-filter-trigger-delayed form-control" placeholder="mm/dd/yyyy"> As you can see the for field and ID field don't match.

I don't believe I can change these values in the UI.

Link to a page where the issue can be seen: hidden link

I expected to see: For compliance details, please see example 2 on hidden link

Instead, I got:

#2550457

The Tag dropdown on the left has a similar problem.

#2551147

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Making Toolset plugins ADA compliant needs lots of work but first of all let me first dive into this and check and I'll report this to concern department and file a ticket for improvements. I'll update you here as soon as possible when I work on this latest by tomorrow.

#2553449

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've escalated the issue to our next level support and please note that there is no ETA on it when the fix will be offered.

There is no alternate workaround for now, maybe you can use JS but it will be extensive work again to apply custom Javascript everywhere. Hopefully our Devs will have eye on it and they should plan to make it ADA compliance but no promises on when or how long it will take.