fix(rgaa/contact): replace misuse of dl/dd with ul/li
(Critère 9.3)
This commit is contained in:
parent
cc93beb89e
commit
baf88f97e3
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue