Implementing Vertical Form Controls
webkit.org
webkit.org
I tried to search for the patch because I'm really curious as to exactly how much code had to be redone. If anyone has better luck than me, I'd love to see the overall ticket and patch.
Update: I found this: https://github.com/WebKit/WebKit/commit/f65bcef60fd613c09d7e...
Yeah looks like stuff you'd expect, like changing heights to logical heights, changing "Right" to "end" (not to minimize the work, I'm still intimidated by the sheer thought of designing this), but really interesting.
> Switch versus checkbox
> Generally, we recommend using a switch when the end user understands the user interface element as a setting that is either “on” or “off”. A checkbox is well suited for when the end user would understand the element as something to be selected.
I've definitely seen checkboxes that took effect immediately as well, though rare.
There are situations were either behaviour is preferable to the other
I'm not against immediate effects on switches (or any other controls), but they must clearly signal the immediate action. E.g. I've seen some UIs presenting a short spinner on its button and delaying the colors and/or the shift.
> Generally, we recommend using a switch when the end user understands the user interface element as a setting that is either “on” or “off”. A checkbox is well suited for when the end user would understand the element as something to be selected.
After 30ish years of internet without it I would assume they got used to LTR.
It feels like this would cause a lot of bugs because devs aren't prepared to handle vertical correctly.
Vertical can be nice for poetry or prose but forms? I believe in Japan/China/Korea most signs, subtitles etc are LTR. Mongolian script is something else but it feels like bringing an antique custom to forcefully override some past Russian and Chinese imperial impact.
I really don't want to sound ignorant or xenophobic and would like to hear from someone native to this.
Not sure how "past Russian impact" is at all related to ttb writings ...
Could you elaborate on that?
After USSR dissolution there's an impulse to return to the traditional vertical script which is a bit impractical because compared to say Han it's not possible to write it horizontally.
Wiki can tell it better than me https://en.wikipedia.org/wiki/Mongolian_Cyrillic_alphabet
Anyway...
Vertical writings are fading out not because someone's political will, but because of their impracticability in modern era.
First commercial typewriter appeared in US in 1874 and it effectively set the end for any non-LTR writing system.
In that respect, can we attach USA to that imperial club that killed TTB writing systems?
Vertical writing is often used in books, however, including ePub books that are internally HTML. With good enough support, it would be pretty reasonable to do a vertical layout for a serious news site, and horizontal form controls in the middle of that would likely be out of place. Physical newspapers, magazines, books, and manga in Japan are predominantly vertical.
That said, I think it's great to see this support added to webkit. A diverse web is good for everyone.
So I suspect the causality is the other way around; there wasn't much demand for vertical form controls for the same reason you don't write emails in cursive.
Fortunately, for forms, I haven't seen any vertically written forms except school work.
This one. Think about it - they don't expect the reader to tilt his head 90 degrees to read it :)
Calligraphy, for example, conveys no extra information but is of higher stature.
That's enough reason to support it, imho. Japanese and Chinese are also routinely printed vertically, so that adds another billion and a half people who stand to benefit from it.
Most users of traditional Mongolian script are in China, where websites are in Chinese by default and Mongolian form elements are rare. They do exist though, and it would be nice if the search bar of this bookstore https://mn.dayangds.com/ could be vertical like everything else.
That checkbox checkmark begs to differ