It's a bad idea. Don't do it. Ensure that moving, blinking, scrolling, or auto-updating objects or pages may be paused or stopped. Some people with cognitive or visual disabilities are unable to read moving text quickly enough or at all. Movement can also cause such a distraction that the rest of the page becomes unreadable for people with cognitive disabilities.
Screen readers are unable to read moving text.
People with physical disabilities might not be able to move quickly or accurately enough to interact with moving objects. Pop-up windows create difficulties for users with cognitive disabilities. Also, changing the current window or popping up new windows can be very disorienting to users who cannot see that this has happened. Lastly, flashing screens can cause seizures. Ensure direct accessibility of embedded user interfaces.