Add attributes to heading field