Corrected labelled by attribute

This commit is contained in:
Godwin
2016-07-15 08:40:32 -07:00
committed by GitHub
parent 67b13e02fa
commit 402bfac344
+2 -2
View File
@@ -1025,7 +1025,7 @@ module ApplicationHelper
end
aria = {}
aria[:labeledby] = label_id if label_id.present?
aria[:labelledby] = label_id if label_id.present?
aria[:describedby] = description_id if description_id.present?
if options[:plain]
html += (text_area_tag name, value,
@@ -1071,7 +1071,7 @@ module ApplicationHelper
(html + content_tag(:fieldset, content_tag(:div, class: :fieldgroup, &block).html_safe,
aria: {
labeledby: label_id,
labelledby: label_id,
describedby: description_id
}
)