DEV Community

Discussion on: How To Create A Timer With React

Collapse
 
francoisaudic profile image
francoisaudic

For the HTML, you could put a « timer » role and an attribute tabindex="0" on the container of the timer.

Collapse
 
yuridevat profile image
Julia 👩🏻‍💻 GDE

Shame on me. Thank you very much for this advice, Francois. I should indeed include accessible code in my (future) tutorials from the beginning, and not only for my accessibility articles themselves. I will do my research and implement it. I will keep you posted when I have revised the code.

Thank you for supporting me in getting better at accessibility every day.