Quick Introduction to Coding Accessible Buttons

Stefany Newman - Accessibility Instructor on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateAccessibility16 min

About this video

A tutorial on coding accessible buttons in HTML, covering the button element, the accessibility tree, naming with aria-label and aria-labelledby, icon buttons, and states such as aria-pressed and aria-expanded. It explains why these details matter for screen reader users.

What you’ll learn

  • Name buttons for screen readers with aria-label and aria-labelledby
  • Mark toggle and expandable buttons with aria-pressed and aria-expanded
  • Write descriptive names for icon-only buttons