2.2.1 [Ruby:2001] Section 2.2, The ruby element
The ruby element is an inline (or text-level) element that serves as an overall container. It contains either the rb, rt and optional rp elements (simple ruby markup) or the rbc and rtc elements (complex ruby markup).
All Document Modes (All Versions)
The dir attribute is not supported in simple or complex ruby elements.