fix(rgaa/contact): replace misuse of dl/dd with ul/li

(Critère 9.3)
This commit is contained in:
Colin Darie 2022-08-29 13:31:56 +02:00
parent cc93beb89e
commit baf88f97e3

View file

@ -26,16 +26,16 @@
= t('.your_question')
= hidden_field_tag :type, params[:type]
%dl
%ul
- @options.each do |(question, question_type, link)|
%dt
%li.mb-1
- if link.present?
%button.button{ 'aria-expanded': 'false', 'aria-controls': question_type, data: { 'question-type': question_type } }= question
- else
%button.button.button-without-hint{ data: { 'question-type': question_type } }= question
- if link.present?
%dd
.support.card.featured.hidden{ id: question_type }
- if link.present?
.support.card.featured.mt-2.mb-2.hidden{ id: question_type }
.card-title
= t('.our_answer')
.card-content