Rating plugin for jQuery. Fast, Progressive enhancement, touch support, icon-font support, highly customizable, unobtrusive JavaScript (using HTML5 data-* attributes), RTL support, supports as many stars as you'd like, and also any step size.
MIT License
161
stars
45
forks
source link
tabindex="0" gets only added in readonly mode. When keyboard tabbing,… #23
I (We) decided to not just leave the value for tabindex empty, because looking at the documentation it looked like a value of "0" is the default. It is safer to just not add the attribute alltogether in readonly mode.
For some reason both my editors added a newline at the end of the file. I hope that is not a problem.
tabindex="0" gets only added in readonly mode. When keyboard tabbing, no focus is needed in readonly mode.
Fixes issue #22: https://github.com/gjunge/rateit.js/issues/22
I (We) decided to not just leave the value for tabindex empty, because looking at the documentation it looked like a value of "0" is the default. It is safer to just not add the attribute alltogether in readonly mode.
For some reason both my editors added a newline at the end of the file. I hope that is not a problem.