PSA: Add dir=“auto” to your inputs and textareas

In this web content, the author reflects on their struggle to understand the distinction between their own world and the world outside of the United States. They mention receiving requests to add right to left language support in Standard Notes and the difficulty they faced in finding a solution. The common suggestions they received involved manual and complex methods that they wanted to avoid. However, they eventually discovered that adding “dir=auto” to the textarea tag solves the problem easily. The author concludes by stating that Google has been misleading about RTL support in inputs and shares the newfound knowledge with the readers.

To top