Generalized the speed-up trick for accessibility