Add for attribute to elements
-
Hi, I want to point out in order to improve the accessibility of the plugin a bit, to insert the for attribute in the generation of labels for the various inputs. It takes very little and solves a big problem for those who are less fortunate.
/***/
foreach ($choices as $title => $iconSet) {
$i++;
/***/
$icon = '<i class="fa ' . $iconSet['icon'] . '"></i>';
$inner .= '<label for="kc_' . $i . '_input"><input id="kc_' . $i . '_input" type="radio" name="kc_captcha" value="' . $value . '" />' . $icon . '</label>';
}
/***/I hope this is something simple to add in the next update soon.
I’m waiting for news.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.