correctif(a11y): #8105, pour les callout, utilise un div wrappant du contenu html

This commit is contained in:
Martin 2023-02-22 09:09:07 +01:00 committed by mfo
parent 4fd799390b
commit c8e9b2f008
7 changed files with 19 additions and 15 deletions

View file

@ -1,6 +1,7 @@
# see: https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/mise-en-avant
class Dsfr::CalloutComponent < ApplicationComponent
renders_one :body
renders_one :html_body
renders_one :bottom
attr_reader :title, :theme, :icon, :extra_class_names