Native interactive elements
type: TechArticle
description: Prefer native HTML interactive elements — , , / , — over divs with click handlers. You get keyboard support, focus management, and assistive-tech semantics for free.
language: en
is part of: Web Specification Studio
author: Web Specification Studio
publisher: Web Specification Studio
license: https://creativecommons.org/licenses/by/4.0/
date modified: 2026-07-08T00:00:00.000Z
citation: WHATWG HTML — The details element
  type: CreativeWork
  publisher: WHATWG
citation: WHATWG HTML — The dialog element
  type: CreativeWork
  publisher: WHATWG
citation: MDN —
  type: CreativeWork
  publisher: MDN
citation: WAI-ARIA Authoring Practices
  type: CreativeWork
  publisher: W3C WAI

Web Specification Studio
type: WebSite

Web Specification Studio
type: Organization

breadcrumb
type: BreadcrumbList
item list element: Home
  type: ListItem
  position: 1
  item: https://webspecification.com/
item list element: Spec
  type: ListItem
  position: 2
  item: https://webspecification.com/spec/
item list element: Accessibility
  type: ListItem
  position: 3
  item: https://webspecification.com/spec/accessibility/
item list element: Native interactive elements
  type: ListItem
  position: 4
  item: https://webspecification.com/spec/accessibility/native-interactive-elements/