Skip to content

Commit

Permalink
Add menuitem role to menu items
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Kirkham <[email protected]>
  • Loading branch information
TheDancingClown committed Nov 14, 2024
1 parent 8d3bbf2 commit eb73ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/form_answers/_states_list.html.slim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- if policy
ul.dropdown-menu.pull-right role="menu"
- collection.each do |state|
li.checkbox role="presentation"
li.checkbox role="menuitem"
= link_to t(state, scope: "form_answers.state"), "#", "data-state" => state.to_s, "data-label" => t("#{state}_html", scope: "form_answers.state_short")

0 comments on commit eb73ef8

Please sign in to comment.