Native Elements Under the Hood | HTML5 & Semantics 12/16

WebEd on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateAccessibility5 min

About this video

Explains how native HTML elements such as the range slider and button carry built-in behaviour, roles and focus handling, and walks through rebuilding a div as a button to compare it with the native element.

What you’ll learn

  • Compare a div button with a native button across role, focus, keyboard and form behaviour
  • Inspect the hidden user-agent shadow DOM of a native HTML control
  • Decide when a native element can replace custom-built components