-
Notifications
You must be signed in to change notification settings - Fork 679
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
New property to control the direction of slider controls #9832
Comments
Placeholders. I will add a detailed proposal here later. |
Given that https://w3c.github.io/aria/#aria-orientation exists I wonder to what extent we should consider this to be a presentational aspect of the control. Maybe |
I'm curious what value knowing the orientation in ARIA brings. I agree that (ab)using Quick proposal:
If we give it an initial value of |
I discussed this with some colleagues and one of them shared this insight:
That indicates this is a semantic aspect of the control and thus should be controlled by HTML. |
I'm extracting this question from the various discussions in several forums:
For slider controls (
<input type=range>
,<progress>
,<meter>
, potentially<input type=checkbox switch>
, etc.) there is a desire to be able to control:In current browsers, #1 is controlled by the CSS
writing-mode
property, and #2 is controlled by the CSSdirection
property. This does allow full control of orientation and direction for sliders, and at least recently (thanks @dizhang168), this behavior is implemented interoperably, despite a lack of standards for this behavior. However, because of #3 (see whatwg/html#4177 (comment) in particular), it might make sense to have a specific CSS property to control the orientation and direction of slider type controls. One tricky detail will be getting it to behave predictably in the face of existingwriting-mode
/direction
behavior, and maybe even the non-standardorient=vertical
.The text was updated successfully, but these errors were encountered: