Use `dir` attribute to indicate right-to-leftness of inputs