improve accessibility
This commit is contained in:
parent
379800a5a6
commit
296183cc26
1 changed files with 5 additions and 6 deletions
|
@ -23,8 +23,8 @@
|
||||||
%span.fr-icon-arrow-go-back-line Réinitialiser
|
%span.fr-icon-arrow-go-back-line Réinitialiser
|
||||||
%ul
|
%ul
|
||||||
%li.fr-py-2w.fr-pl-2w{ 'data-controller': "expand" }
|
%li.fr-py-2w.fr-pl-2w{ 'data-controller': "expand" }
|
||||||
.fr-mb-1w{ 'data-action': 'click->expand#toggle' }
|
.fr-mb-1w
|
||||||
%button
|
%button{ 'data-action': 'expand#toggle' }
|
||||||
%span.fr-icon-add-line.fr-icon--sm.fr-mr-1w.fr-text-action-high--blue-france{ 'aria-hidden': 'true', 'data-expand-target': 'icon' }
|
%span.fr-icon-add-line.fr-icon--sm.fr-mr-1w.fr-text-action-high--blue-france{ 'aria-hidden': 'true', 'data-expand-target': 'icon' }
|
||||||
Mes zones
|
Mes zones
|
||||||
.fr-ml-1w{ 'data-expand-target': 'content' }
|
.fr-ml-1w{ 'data-expand-target': 'content' }
|
||||||
|
@ -33,8 +33,8 @@
|
||||||
= b.check_box(checked: @zone_ids&.map(&:to_i)&.include?(b.value), 'data-action': 'autosubmit#submit')
|
= b.check_box(checked: @zone_ids&.map(&:to_i)&.include?(b.value), 'data-action': 'autosubmit#submit')
|
||||||
= b.label(class: 'fr-label') { b.text }
|
= b.label(class: 'fr-label') { b.text }
|
||||||
%li.fr-py-2w.fr-pl-2w{ 'data-controller': "expand" }
|
%li.fr-py-2w.fr-pl-2w{ 'data-controller': "expand" }
|
||||||
.fr-mb-1w{ 'data-action': 'click->expand#toggle' }
|
.fr-mb-1w
|
||||||
%button
|
%button{ 'data-action': 'expand#toggle' }
|
||||||
%span.fr-icon-add-line.fr-icon--sm.fr-mr-1w.fr-text-action-high--blue-france{ 'aria-hidden': 'true', 'data-expand-target': 'icon' }
|
%span.fr-icon-add-line.fr-icon--sm.fr-mr-1w.fr-text-action-high--blue-france{ 'aria-hidden': 'true', 'data-expand-target': 'icon' }
|
||||||
Autres zones
|
Autres zones
|
||||||
.fr-ml-1w.hidden{ 'data-expand-target': 'content' }
|
.fr-ml-1w.hidden{ 'data-expand-target': 'content' }
|
||||||
|
@ -43,8 +43,7 @@
|
||||||
= b.check_box(checked: @zone_ids&.map(&:to_i)&.include?(b.value), 'data-action': 'autosubmit#submit')
|
= b.check_box(checked: @zone_ids&.map(&:to_i)&.include?(b.value), 'data-action': 'autosubmit#submit')
|
||||||
= b.label(class: 'fr-label') { b.text }
|
= b.label(class: 'fr-label') { b.text }
|
||||||
%li.fr-py-2w.fr-pl-2w{ 'data-controller': "expand" }
|
%li.fr-py-2w.fr-pl-2w{ 'data-controller': "expand" }
|
||||||
.fr-mb-1w{ 'data-action': 'click->expand#toggle' }
|
%button{ 'data-action': 'expand#toggle' }
|
||||||
%button
|
|
||||||
%span.fr-icon-add-line.fr-icon--sm.fr-mr-1w.fr-text-action-high--blue-france{ 'aria-hidden': 'true', 'data-expand-target': 'icon' }
|
%span.fr-icon-add-line.fr-icon--sm.fr-mr-1w.fr-text-action-high--blue-france{ 'aria-hidden': 'true', 'data-expand-target': 'icon' }
|
||||||
Statut
|
Statut
|
||||||
.fr-ml-1w.hidden{ 'data-expand-target': 'content' }
|
.fr-ml-1w.hidden{ 'data-expand-target': 'content' }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue