-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rating slider is not a good pattern #2501
Comments
HTML specification says:
Therefore a slider for exact values like in the rating example would be wrong |
I agree that allowing half stars has user interface issues and should be avoided, but some people like building them, so we should provide a means to help them understand how to make them accessible. Examples: |
@jongund I don't understand your argument, because if a pattern is not accessible, then it should not be used, whether someone wants it or not. I have concerns about the accessibility and usability of the pattern and think it should be rebuilt or removed. Rebuilt would mean that the click areas are large enough and that I have an visual indicator that
|
The ARIA Authoring Practices (APG) Task Force just discussed The full IRC log of that discussion<Matt_King> TOPIC: Rating slider issue<Matt_King> github: https://github.com//issues/2501 <jongund> MK: There is a criticism that slider should not be used for ratings <jongund> JG: The issue is a disconnect between seeing something that looks like a slider and have a slider control <jongund> JN: What should it be? <jongund> MK: We all have opinions, use the role that looks like the thing <jongund> JN: There is not a rating thing <jongund> MK: Since there is not a rating role <jongund> JN: We should not having something that has half stars, if you want more there should be more stars <jongund> MK: JG where dod you find this? <jongund> JG: I have found one, they are not common <jongund> JN: I have not seen this <jongund> MK: Whether it supports or doesn't support half stars <jongund> MK: The half stars is the issue <jongund> JN: I agree <jongund> MK: We agree that half stars doesn't change whether slider is an appropriate role <jongund> MK: The next bullit is more relavent about no rail for drag <jongund> JN: I have to go <jongund> MK: Top of the hour <jongund> JG: It seems like we should get rid of the half stars <jongund> MK: The WCAG point is drag <jongund> MK: Since it is not obvious that it is draggable <jongund> MK: That and the fact that setting it to zero is not obvious, they might be ligitament <jongund> MK: I wondering a you can perceive whether you can drag, maybe there should ne something you can drag <jongund> JG: Are we creating an example that will not be used in real life. <jongund> MK: What are we demonstrating with this exampel that we are not doing with other examples <jongund> JG: APG should be provding more clarity than questions <jongund> rrsagent, draft minutes <RRSAgent> I have made the request to generate https://www.w3.org/2022/11/01-aria-apg-minutes.html jongund |
@JAWS-test The idea for changing the example is to change the 5 stars to 10 circles, mimicking bubble forms. We would also add information on why the slider pattern maybe useful over the radio button pattern when the number of options is greater than some number N. What do you think of this proposal? |
@jongund Yes, that sounds good. Thanks for the planned improvements |
… scale (pull #2831) Resolves issue #2501 by modifying the rating slider example as follows: * Changes it to a 10-point scale from a 5-star scale that had half star ratings. * Changes the visual design to better represent common 10-point satisfaction sliders. * Improves the high contrast support. * Adds documentation that explains why the slider pattern is appropriate for this use case. --------- Co-authored-by: Andrea N. Cardona <cardona.n.andrea@gmail.com> Co-authored-by: Matt King <a11yThinker@gmail.com>
In my opinion, the rating slider is not a pattern that we should recommend:
The text was updated successfully, but these errors were encountered: