Linux 软件免费装

Simple Accessible Spoilers

开发者 seshelby
更新时间 2024年7月24日 06:31
PHP版本: 5.6 及以上
WordPress版本: 6.6
版权: GPLv3 or later
版权网址: 版权信息

标签

shortcode accordion spoiler

下载

1.0.5 1.0.6 1.0.7 1.0.4 1.0.8 1.0.3 1.0.9 1.0.10 1.0 1.0.1 1.0.12 1.0.13 1.0.2 1.0.11

详情介绍:

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

安装:

  1. Install via WordPress Dashboard or upload simple-accessible-spoilers.zip;
  2. Activate the plugin through the 'Plugins' menu in WordPress;
  3. Use "spoiler" shortcode in your content;

常见问题:

How can I customize design of the spoiler?

Override the styles found in styles/simple-accessible-spoilers-styles.css in your theme css files

更新日志:

1.0.13
  1. added active and in focus styles for selected spoiler header
  2. removed role from heading tags and enclosed the heading text inside a button tag
  3. replaced css content for dashicon arrow with span element
1.0.12
  1. corrected unescaped output variables
1.0.11
  1. removed check for post before enqueueing styles and scripts to allow the shortcode to run in archive templates
  2. changed to expansion speed of accordians to slow
  3. modernized the look of the spoilers but adding rounded corners and updated icons
  4. corrected page scroll when space bar is used to toggle accordian
1.0.10
  1. corrected aria-expanded not updating on non-active elements when another element in the same group is activated
1.0.9
  1. corrected spoiler titles being stripped when certain accented characters exists in the title
1.0.8
  1. added option to customize shortcode
1.0.7
  1. changed spoiler toggle role to link to correct validation issue
1.0.6
  1. Added attribute input validation
1.0.5
  1. Added option to group accordions so that opening a new accordion will close opened items in the same list.
1.0.4
  1. Wordpress 5.5 Compatibility release
1.0.3
  1. corrected bug resulting in initial state not displaying correctly
1.0.2
  1. corrected php not object error when post object is not found in a page
  2. added jquery dependency to wp_register_script to correct jquery not being loaded in some themes
1.0.1
  1. corrected bug with scripts not enqueue as expected
  2. added dashboard messages