Skip Navigation

[Resolved] ADA for Select field

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 month, 3 weeks ago.

Assisted by: Minesh.

Author
Posts
#2779306

Tell us what you are trying to do?

Make Toolset code accessible.

Is there any documentation that you are following?

Reporting from a University accessibility tool

Is there a similar example that we can see?

This code is missing the ID that ties the <label> to the <select> field:

<div class="form-group">
<label class="wpv-custom-search-filter__label" for="dtype">Filter by Type:</label>
<!-- ## --><span class="wpv-custom-search-filter__input">
<select name="wpv-dtype" class="js-wpv-filter-trigger form-control">
<option selected="selected" value="0">All</option><option value="minor">Minor</option>
<option value="bachelor-of-arts-ba">Bachelor of Arts (BA)</option>
<option value="master-of-arts-ma">Master of Arts (MA)</option>
<option value="doctor-of-philosophy-phd">Doctor of Philosophy (PhD)</option>
<option value="bachelor-master-bam">Bachelor/Master (BAM)</option>
<option value="certificate-undergraduate">Certificate, Undergraduate</option>
<option value="online">Online</option>
<option value="certificate-graduate">Certificate, Graduate</option>
<option value="bachelor-of-science-bs">Bachelor of Science (BS)</option>
<option value="masters-professional">Masters, Professional</option>
<option value="interdisciplinary">Interdisciplinary</option></select>
</span>
</div>

What is the link to your site?

hidden link

#2779337

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

I would like to know that the "Filter by Type" select filter you added to your view is a custom field filter? if yes, how the custom field is configured with custom field group, is it a select type field or any other?

#2779406
Screenshot 2024-10-25 at 11.26.42 AM.png

Aloha Minesh,

They are Custom Search Fields added to a View (see screenshot).

Thanks for your replay 🙂

Bill

#2779603

Minesh
Supporter

Languages: English (English )

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

This is a known issue for us as we already have few reports from other users to make the Toolset Blocks/Views output ADA compliance/

I've added this ticket to our internal ticket that should help our Devs to raise the priority.

There is no workaround or solution for now until maybe if you want to try to use custom JS code to change the label "for" attribute as required.