id on textarea causes duplicate ids if recaptcha_tags is called twice on the same page
jcoyne opened this issue · comments
Justin Coyne commented
Our automated accessibility check is giving a warning about this.
https://github.com/ambethia/recaptcha/blob/master/lib/recaptcha/helpers.rb#L77
Could that ID be derived from options[:id]
if present?
Is there a reason that element needs an id?
Michael Grosser commented
check the id is not used in the js ... if that's the case PR welcome to make it unique
Justin Coyne commented
check the id is not used in the js
This is in the <noscript>
section.
Michael Grosser commented
then it should be fine