Bug 966591 - Add #ifdef guards to fix compile issue with non-a11y builds r=dholbert