add transition, role attr