aramchand93 / jquery-star-rating-plugin

Automatically exported from code.google.com/p/jquery-star-rating-plugin
0 stars 0 forks source link

adding accessibility for blind users #125

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

with some little changes of your code, i've added acessibility for blind users. 
See attached file, line 119:

var star = $('<div role="text" aria-label="'+ this.title +'" class="star-rating 
rater-'+ control.serial +'"><a title="' + (this.title || this.value) + '">' + 
this.value + '</a></div>');

Original issue reported on code.google.com by jan.fans...@gmail.com on 4 Mar 2013 at 8:52

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for sharing this! I've added it to v4.04 (04-Mar-2013), rev 59.

Can you please verify it works as expected?
http://www.fyneworks.com/jquery/star-rating/test/

Original comment by diego.a...@gmail.com on 4 Mar 2013 at 1:18

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
var star = $('<div role="text" aria-label="'+ (this.title || title.value) +'" 
class="star-rating rater-'+ control.serial +'"><a title="' + (this.title || 
this.value) + '">' + this.value + '</a></div>');

Original comment by r...@mibbio.com on 27 Mar 2013 at 8:03

GoogleCodeExporter commented 8 years ago
How do you change the title to read:
1 star: "Very Poor"
2 stars: "Poor"
3 stars: "Average"
4 stars: "Good"
5 stars: "Very Good"

Original comment by howzit...@gmail.com on 19 Jul 2013 at 10:14