diff --git a/app/helpers/accessibility_helper.rb b/app/helpers/accessibility_helper.rb new file mode 100644 index 000000000..a224f9a9b --- /dev/null +++ b/app/helpers/accessibility_helper.rb @@ -0,0 +1,7 @@ +module AccessibilityHelper + + def css_for_aria_hidden(reason) + reason.present? ? "true" : "" + end + +end diff --git a/app/views/debates/_votes.html.erb b/app/views/debates/_votes.html.erb index a4fd722ee..9ac6638d6 100644 --- a/app/views/debates/_votes.html.erb +++ b/app/views/debates/_votes.html.erb @@ -22,20 +22,20 @@ <% if user_signed_in? && current_user.organization? %> -