diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index d59b33b5e..8df100359 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -88,7 +88,7 @@ a { } &:focus { - outline: 0; + outline: 3px solid #ffbf47; } } @@ -656,6 +656,10 @@ form.locale-form { padding-left: rem-calc(3); padding-right: $line-height; width: auto; + + &:focus { + outline: 3px solid #ffbf47; + } } } } diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 7ceaf7b99..ba64962e9 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -192,7 +192,7 @@ .button-support { background: white; - color: $proposals; + color: $text; display: inline-block; font-size: $small-font-size; margin-top: rem-calc(12); 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? %> -