How to Build an Accessible Hangman Game with Vanilla JavaScript

In this article I will outline how I built a hangman game with Vanilla JavaScript, and more importantly, how I made it accessible for players who navigate with their keyboard or with a screen reader.

My hangman game

Concept

Hangman is a simple word guessing game that can be played by one or two people. The goal of this project was to practice…