Template talk:Rating
Needs alpha feature
Needs alphabetic ratings feature, such that
{{Rating|B|E}}
displays as EDCBA.
Compare:
{{Rating|4|5}}
displays as .
It might make more sense to do this as
{{Rating|4|E}}
or
{{Rating|4|5|alpha=yes}}
— SMcCandlish [talk] [cont] ‹(-¿-)› 15:01, 30 August 2008 (UTC)
- Would it not be easier on readers to simply use "A" "B" "C", etc? I can see a EDCBA range as potentially very confusing to most...it certainly was to me. — Huntster (t • @ • c) 01:33, 1 September 2008 (UTC)
- Fine by me; I was just trying to match the star formatting. — SMcCandlish [talk] [cont] ‹(-¿-)› 22:41, 14 September 2008 (UTC)
Accessibility issue
The accessibility of this template is in question. Relevant discussion may be found on the talk page. |
Has this been discussed at all with WP:WPACCESS? This template strikes me as likely to be an accessibility problem. — SMcCandlish [talk] [cont] ‹(-¿-)› 15:01, 30 August 2008 (UTC)
- Very unlikely that it has been discussed with any group. My understanding was that it simply got made and folks began replacing the "Rating-X" templates. While not perfect, it does include alt-text, though the same alt text is replicated with each star image. — Huntster (t • @ • c) 01:33, 1 September 2008 (UTC)
How horrible this looks in text browsers:
• {{Rating|4|5}} displays as 4/5 stars4/5 stars4/5 stars4/5 stars4/5 stars • {{Rating|0|3}} displays as 0/3 stars0/3 stars0/3 stars
Jidanni (talk) 09:14, 13 September 2008 (UTC)
- Indeed. I'm really not sure what might be the best way to solve this situation...cater to text-to-voice users, but not make text browsers look like mud. Perhaps use a 1x1 transparent image with the alt text? I do not know if there is a function in HTML to present alt text without using images. — Huntster (t • @ • c) 11:53, 13 September 2008 (UTC)
Let's see, if you only had the first item have the current ALT text, and the rest have ALT="" (I suppose, but not nothing at all otherwise some browsers will put the name of the image there), then
• {{Rating|4|5}} displays as 4/5 stars • {{Rating|0|3}} displays as 0/3 stars
Jidanni (talk) 04:15, 14 September 2008 (UTC)
- I've edited the template accordingly, and it should hopefully just display the image text once now. --Conti|✉ 00:19, 15 September 2008 (UTC)
OK, looks good. Thanks. As a side effect this even exposed a bug in the w3m browser. Jidanni (talk) 14:59, 18 September 2008 (UTC)