Components of type select_or_other should have an invisible label element on the "other" input element to make it clear to screen reader users what the input is for. The attached patch implements this.

CommentFileSizeAuthor
webform_select_or_other_label.patch762 bytesliam morland

Comments

quicksketch’s picture

Priority: Normal » Minor

Thanks, this patch works great on D7 but D6 ends up with a label no matter what. I thought #740522: Supporting the Drupal 7 #title_display option to integrate with WebForm hide title option would have addressed this and I could have used #title_display = 'none' in D6, but that didn't seem to have any effect for the "Other" textfield.

No problems though, if this is a D7-only feature I'm fine with that. Committed to 7.x-3.x branch.

liam morland’s picture

Thanks. I have no D6 site to test on, so I can't help with that.

quicksketch’s picture

Status: Needs review » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.