#35482: Email and URL form input widgets should always have dir="ltr"
-------------------------------------+-------------------------------------
Reporter: Omid Shojaee | Owner: nobody
Type: Bug | Status: new
Component: Forms | Version: 5.0
Severity: Normal | Resolution:
Keywords: LTR, RTL, Admin, | Triage Stage: Accepted
accessibility |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Comment (by Moe):
Hi!
I could be wrong, but I think changing the default writing direction for
such fields can be somewhat tricky for RTL languages. As an Arabic-
speaking user, if I were to go to the Arabic version of a website, then
I'd expect form inputs to be RTL.
Most websites do that (since when you set dir="rtl" on the <html> tag, the
form inputs will automatically start from the right), so I expect the
default behavior of other websites to follow that as well.
Moreover, I think mixing writing directions of multiple form inputs won't
be quite nice (visually speaking, again, and I could be wrong). As you can
see in the screenshot, the text inputs are RTL, the email and password are
LTR, and it's a bit unappealing.
[[Image(Screenshot from 2024-06-19 21-39-56.png)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/35482#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107019031d1aac6-7401cbd8-5d64-4710-8766-97939e378b1d-000000%40eu-central-1.amazonses.com.