Re:PSA: Add dir=“auto” to your inputs and textareas
by Vanit on Wednesday August 23, 2023 @11:19AM
(#37237411)
No obviously you just simply add this attribute to all elements in every project and tell everyone how much you care about accessibility because you use dir=auto (nevermind the rest of your website has zero mind for RTL) /s
Re:PSA: Add dir=“auto” to your inputs and textareas
by mananaysiempre on Wednesday August 23, 2023 @12:46PM
(#37238770)
Adapting your UI to RTL localization is a much more difficult proposition, but what well-placed dir="auto" can do is prevent an LTR-language UI from falling apart in the face of RTL user data (looking at you Gmail).
Re:PSA: Add dir=“auto” to your inputs and textareas
by nickpeterson on Wednesday August 23, 2023 @01:22PM
(#37239245)
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?
Re:PSA: Add dir=“auto” to your inputs and textareas
by masa331 on Wednesday August 23, 2023 @01:29PM
(#37239356)
always export files in UTF-8
Re:PSA: Add dir=“auto” to your inputs and textareas
by mpixel on Wednesday August 23, 2023 @02:09PM
(#37239931)
only lowercase alphabetic ascii for any path or file name, excluding space.
i will die on this hill.
Re:PSA: Add dir=“auto” to your inputs and textareas
by lpapez on Wednesday August 23, 2023 @02:57PM
(#37240591)
We will stand together, brother.
Note also that there's currently a regression in Chrome that affects how RTL text is rendered in inputs with dir='auto'. They just shipped a fix though so it should be included in the next release.