[i18n-drafts] dir=<rtl/auto> for placeholder in input field (#232)

Elia-Sh has just created a new issue for https://github.com/w3c/i18n-drafts:

== dir=<rtl/auto> for placeholder in input field ==
After reviewing: 
https://www.w3.org/International/questions/qa-html-dir
and understanding that I need to open a queestion on github about - 
https://github.com/w3c/i18n-drafts/blob/gh-pages/questions/qa-html-dir.en.html

After trying to apply `dir="auto"` I've noticed that the placeholder stays aligned "LTR",
the placeholder is written in Hebrew and the input form reactes to the attribute `dir="auto"`,
meaning the value of the text field is aligned properly - based on the language that is used,
but the placeholder remains,
example:
https://ibb.co/4f00vCs
```
<input type="text" class="form-control" id="inlineFormInputGroup" placeholder="מייל" dir="auto">
```

The above was tested both in chrome and firefox, and the behaviour is identical.

Is there an option to discuss the affect of dir="auto" on the placeholder of an input field,
or at least improve the documentation - https://www.w3.org/International/questions/qa-html-dir
to mention this issue?

Thanks,
Elia.


Please view or discuss this issue at https://github.com/w3c/i18n-drafts/issues/232 using your GitHub account

Received on Sunday, 8 December 2019 15:11:40 UTC