From 0dfabc89392cbead0befdb7668653005703333ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 10 Jul 2021 18:28:07 +0200 Subject: [PATCH] Use a Font Awesome icon in recommendations We've deprecated the "icons" font since we started using Font Awesome two years ago and using it caused some screen readers to announce an "l" before the content of every list item. --- app/assets/stylesheets/participation.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 53f375fe8..e2e9d9eda 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -250,11 +250,11 @@ margin-top: $line-height; li { + @include has-fa-icon(check, solid); margin: $line-height / 2 0; &::before { - content: "l "; - font-family: "icons" !important; + margin-right: $font-icon-margin * 1.5; } } }