added omission/aria/attr info to text elemnts

only down to ruby need to check with robin on ruby stuff.
refer to bug 21898