Building an Accessible Modal with the HTML Dialog Element | Part 5

Angela J Holden on YouTubeWatch on YouTube

SaveMark complete

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

LivestreamIntermediateDesign Engineering2 hr 10 min

About this video

A recorded live stream in which the presenter tests an accordion's keyboard accessibility, adds labelled SVG controls, and replaces div-based markup with the native dialog element for a modal. It also covers backdrop styling and locking page scroll with CSS :has(), aimed at frontend developers who want to rely on native HTML and CSS behaviour.

What you’ll learn

  • Test hidden accordion content with keyboard focus and screen readers
  • Add screen-reader labels to icon-only SVG buttons
  • Build a modal with the native dialog element and lock page scroll with :has()