How to build a toggle button - A11ycasts #25

Subscribers:
791,000
Published on ● Video Link: https://www.youtube.com/watch?v=16gvkPfPIx4



Category:
Guide
Duration: 17:53
26,572 views
439


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







Tags:
GDS: Yes
A11ycasts
accessibility
toggle button
how to build a toggle button
how to components
custom control
accessible custom elements
custom elements
ARIA
Aria authoring
button widget
accessible design
designing for accessibility
html tag
elements
element
element attributes
assistive technology
chrome accessibility
chrome developers
chrome
developers
product: chrome
fullname: Rob Dodson
Location: MTV
Type: DevByte
Other: NoGreenScreen