accessible toggle for flashcards template written