Corrected labelled by attribute
This commit is contained in:
parent
67b13e02fa
commit
402bfac344
@ -1025,7 +1025,7 @@ module ApplicationHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
aria = {}
|
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?
|
aria[:describedby] = description_id if description_id.present?
|
||||||
if options[:plain]
|
if options[:plain]
|
||||||
html += (text_area_tag name, value,
|
html += (text_area_tag name, value,
|
||||||
@ -1071,7 +1071,7 @@ module ApplicationHelper
|
|||||||
|
|
||||||
(html + content_tag(:fieldset, content_tag(:div, class: :fieldgroup, &block).html_safe,
|
(html + content_tag(:fieldset, content_tag(:div, class: :fieldgroup, &block).html_safe,
|
||||||
aria: {
|
aria: {
|
||||||
labeledby: label_id,
|
labelledby: label_id,
|
||||||
describedby: description_id
|
describedby: description_id
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user