WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Standard for star ratings interfaces?

for

From: _mallory
Date: Jan 13, 2015 7:21AM


On Tue, Jan 13, 2015 at 08:41:40AM -0500, Birkir R. Gunnarsson wrote:
> I have seen a slider interface for the star rating, and a slider or a
> spinbutton seems to be the right control for the task.
> Just make sure to use aria-valuetext rather than aria-valuenow as the
> star rating is not simply an integer.
Oh? I think Gidon's plugin uses valuenow, is that because valuenow
can't deal with floats (numeric floats I mean)?
> I think the JQuery slider was either accessible or close, but I am not
> sure about this.
This might not be his latest version but it's the one he released
after testing in VO:
http://stommepoes.nl/Cloudsuite/rateitexample/rateitexample.html
(this implementation happens to use default star images, default
star sizes (16px) and defaults to whole-star ratings, so I guess
valuenow would technically work here)
The dev has to write the base HTML so only parts from the plugin
you see is via the browser devtools.

_mallory