WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: How to make a visual rating scale accessible

for

From: Patrick H. Lauke
Date: Jun 7, 2016 3:59PM


On 07/06/2016 19:27, whitneyq wrote:
>
> The stars are not interactive so that's easier
> I get it about making Sr-only text...is that better practice? I always wonder if there are others who would need it but have it hidden from them with this technique.

CSS-based solutions with visually hidden sr-only text will generally not
work for sighted users with images disabled, unless you use some form of
detection to determine if images are indeed turned off, and modify the
CSS accordingly to show the sr-only text.

https://www.paciellogroup.com/blog/2012/08/notes-on-accessible-css-image-sprites/

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke