lib/ccs/components/govuk/footer.rb in ccs-frontend_helpers-0.2.0 vs lib/ccs/components/govuk/footer.rb in ccs-frontend_helpers-0.3.0
- old
+ new
@@ -35,10 +35,9 @@
# @option options [Hash] :attributes additional attributes that will added as part of the HTML
def initialize(navigation: nil, meta: nil, **options)
super(**options)
- @options[:attributes][:role] = 'contentinfo'
@options[:copyright] ||= '© Crown copyright'
@navigation = navigation&.map { |navigation_item| Navigation.new(context: @context, **navigation_item) }
@meta = Meta.new(context: @context, **meta) if meta
end