How to build a toggle button - A11ycasts #25

Today we'll walk through building an accessible toggle button. A toggle button is just a button with two states: pressed, and unpressed. It's a pretty simple control, but it'll allow us to show off a number of best practices for building accessible custom elements. ARIA Authoring Practices 1.1: Button: https://goo.gl/bx42jW Custom elements: https://goo.gl/9xUH4Y HowTo: Components: https://goo.gl/MfL1f5 Watch all A11ycasts episodes: https://goo.gl/06qEUW Subscribe to the Chrome Developers YouTube channel for updates on new episodes of A11ycasts: http://goo.gl/LLLNvf