plugin-icon

Simple Accessible Spoilers

제작자: seshelby·
Create fully accessible content spoilers or accordions with a shortcode.
등급
5/5
버전
1.0.13
활성화된 설치 항목
100
최근 업데이트일
Apr 19, 2025

Create fully accessible content spoilers or accordions with a shortcode.

  1. Fully accessible to screen reader users
  2. Creates a flexible spoiler shortcode
  3. Define groups of accordions to close open accordions when another in the same group is opened.
  4. Override design in theme CSS files

Sample Code

[spoiler title="Sample Code" initial_state="expanded" tag="h2" group="a"] Include content here [/spoiler]

Attributes

title: should include the clickable text to be displayed in your accordion initial_state: values include collapsed or expanded, default to “collapsed” group: any alphanumeric value. used to define a group of accordions. when one accordion is opened all other items in the group will be closed. tag: values include any typical html tag but a heading tag should be used for accessibility, defaults to H2

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.8.3
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.