accept nested attr for images with roles