Allow custom attribute named on to be passed on to elements
#11153
+8
−2
on to be passed on to elements
#11153