text-indent for star screenreader text not sufficient
-
Hey, glad to see you leaving in screenreader text in the
list items that contain the rating stars – that’s good coding! However, the text-indent style that is supposed to make it not display visibly on actual screens isn’t enough. You have it set to -500px, which just leaves a jumble of overlapping numbers and slashes floating awkwardly in the margins of the site I’m working on. I fixed it by adding this to my stylesheet:.ratings a { text-indent:-9999px !important; }
which bumps it off of any screen size I know of. Alternately, you could use
clip: rectangle 1px 1px 1px 1px;
You should fix this in future versions!
https://www.ads-software.com/extend/plugins/post-ratings/
- The topic ‘text-indent for star screenreader text not sufficient’ is closed to new replies.