Skip Navigation

[Resolved] Label tag empty for Term Fields

This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Our next available supporter will start replying to tickets in about 0.57 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 4 replies, has 3 voices.

Last updated by Twig 6 years, 11 months ago.

Assisted by: Nigel.

Author
Posts
#596115

Hi -

Looks like the <label> tag is rendered empty for Term Fields added via Types. I tested a clean WP 4.9.1 install, 2017 theme and only Types plugin installed.

When you view a Taxonomy in the WP admin to set values for the Types fields, the <label> tag is empty; the content that should be inside is instead in the <th> in the left rail. This might be a limitation of the WP admin presentment of the fields, but I thought I'd report it just in case. The actual functioning of the Types fields is fine.

#596139

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Could you please send me screenshot or step information where exactly I can see the empty label tags?

#596279
SNAG_Program-0208.png
SNAG_Program-0207.png

Sure - I would have included with the ticket, but your new system doesn't let you add images.

Here you can see the admin screen for TERM FIELDS and the HTML - the labels ("Simple Textbox" and "Test Checkbox") are in the left sidebar of the page, not in the <label> tag right above the input.

(Compare this to Post Fields, where the label tag is filled with text)

#596825

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screen Shot 2017-12-07 at 14.37.56.png

Hi there

Sorry, Minesh is on vacation, so I will take over here if that's okay.

I checked for myself and saw that on the page that lists the categories the label was filled correctly (see my screenshot), but on the individual term page it is as you describe.

The presentation on that page—as determined by WordPress—is slightly different, using tables to display the labels and fields in two columns. I can only assume that the developers had a reason for doing it like this at the time.

I could pursue this and escalate it to the developers to review, but I'm pretty sure that as it makes no functional difference and given how busy they are working on the post relationships update this would receive very low priority.

If you want me to present it to them I will, otherwise let me know that it is okay to close the ticket, thanks.

#596909

Nah it's not a big deal, but I thought they should know (esp. since I'm working on an Accessible project right now, and this would fail the 508 test).

If they can dupe the label text inside the empty <label> tag, that would be great but it's certainly not a high-level priority!