This attribute posts information if the text was typed from left to right (default for nodes) or from right to left, and used to receive the value entered and know how it was typed.
It makes sense if used in conjunction with the direction
style and in languages like Arabic.
See the example:
<span>Texto para pesquisar:</span>
<input type="text" name="pesquisa" style="direction:RTL" dirname="pesquisaDirecao" />
If the field is submitted, the query string will receive:
"? search = text & searchDirection = rtl"
indicating that the search value was typed "rtl" ie from right to left. If typed from left to right it would post "searchDirection = ltr"
Here's a site explaining and where you can test submit: link