Trên trang này

Trang này chưa có bản tiếng Việt, nội dung bên dưới là bản tiếng Anh. Xem trang tiếng Anh

Accordion

What Accordion gives you and what your team does.

Conformance

Accordion meets WCAG 2.2 level AA when used as described on these pages.

Keyboard

  • Tab moves between headings.
  • Enter or Space opens or closes a section.

What Accordion gives you

  • Headings are buttons with aria-expanded and aria-controls.

What your team does

  • Write headings that say what is inside.

WCAG criteria

Criterion Level How
4.1.2 Name, Role, Value A Open state is exposed
2.1.1 Keyboard A Opens by keyboard