Add dir=“auto” to your inputs and textareas
61–70 of 114 posts
Re: Add dir=“auto” to your inputs and textareas
#62Slightly related: I recently learned that vim has `:set rl` to make a text go from right to left. (`:set norl` to come back to regular)
Re: Add dir=“auto” to your inputs and textareas
#63or don't, because using fancy quotes in your HTML will have it not render properly. mods, pls fix the title.
? What does this have to do with anything
Re: Add dir=“auto” to your inputs and textareas
#64To the people wondering why this is still an issue: Most tech is very US- or west-centered. My name contains an Umlaut (ü), which causes me trouble much more often than should be the case. A colleague of mine even changed their name by substituting ä foe ae, to avoid this issue. We still have the benefit of mostly ASCII names mind you. It can get a lot worse.
Re: Add dir=“auto” to your inputs and textareas
#65There is also this shortcut of ctrl+shift+x to switch to RTL. Which is really funny when you do it on Twitter since it flips the entire user interface.
I used to work on web RTS game and one of the FE guys before my time had used scaleX(-1) for virtually every RTL case. First he flipped the viewport, then flip back everything that shouldn't have been flipped. I threw pretty much all his html, CSS and JS once I was allowed to render most of the game with WebGL
Re: Add dir=“auto” to your inputs and textareas
#66https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...
What I don’t understand is why dir="auto" isn’t set as the default value, allowing browsers to choose text direction based on the lang attribute or the text content.
Re: Add dir=“auto” to your inputs and textareas
#67This should be the operating systems problem to solve not developers of every website ever. Same with spellchecking, emojis, copy/paste etc.
This should be the operating systems problem to solve not developers of every website ever. Same with spellchecking, emojis, copy/paste etc. From from your mouth to God's ear. I wish every program would default to system-wide settings. But unfortunately, too many do their own things. Why does Microsoft Office need a separate dictionary from the rest of my computer? Why does Wrike intercept ⇧⌘N? Why doesn't Adobe Phot…
Users want OS's to be consistent across apps, but users also want apps to be consistent across OS's. And so the reality is each feature is going to be decided on a case by case basis and the end result will be somewhere in the middle.
Re: Add dir=“auto” to your inputs and textareas
#68Earlier quoted context omitted.
Just support English and eventually it won’t be a problem. Also put all your dates in UTC. Any other low hanging fruit we can knock out?
always export files in UTF-8
i will die on this hill.
Re: Add dir=“auto” to your inputs and textareas
#69To the people wondering why this is still an issue: Most tech is very US- or west-centered. My name contains an Umlaut (ü), which causes me trouble much more often than should be the case. A colleague of mine even changed their name by substituting ä foe ae, to avoid this issue. We still have the benefit of mostly ASCII names mind you. It can get a lot worse.
Re: Add dir=“auto” to your inputs and textareas
#70dir is a global attribute that can be set on any HTML element: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att... What I don’t understand is why dir="auto" isn’t set as the default value, allowing browsers to choose text direction based on the lang attribute or the text content.