{"id":105575,"date":"2019-07-05T01:55:36","date_gmt":"2019-07-05T01:55:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-accessible-spoilers\/"},"modified":"2025-04-19T11:15:29","modified_gmt":"2025-04-19T11:15:29","slug":"simple-accessible-spoilers","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/simple-accessible-spoilers\/","author":11968646,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.13","stable_tag":"1.0.13","tested":"6.8.5","requires":"3.9.1","requires_php":"5.6","requires_plugins":null,"header_name":"Simple Accessible Spoilers","header_author":"AlumniOnline Web Services","header_description":"Create fully accessible content spoilers with a shortcode.","assets_banners_color":"","last_updated":"2025-04-19 11:15:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/simple-accessible-spoilers\/","header_author_uri":"https:\/\/www.alumnionlineservices.com\/php-scripts\/simple-accessible-spoilers\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":5524,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"seshelby","date":"2019-07-05 01:55:14"},"1.0.1":{"tag":"1.0.1","author":"seshelby","date":"2020-02-23 12:06:18"},"1.0.10":{"tag":"1.0.10","author":"seshelby","date":"2022-11-28 22:26:49"},"1.0.11":{"tag":"1.0.11","author":"seshelby","date":"2023-09-02 12:05:59"},"1.0.12":{"tag":"1.0.12","author":"seshelby","date":"2024-04-27 10:46:54"},"1.0.13":{"tag":"1.0.13","author":"seshelby","date":"2025-04-19 11:15:29"},"1.0.2":{"tag":"1.0.2","author":"seshelby","date":"2020-02-23 12:06:18"},"1.0.3":{"tag":"1.0.3","author":"seshelby","date":"2020-03-02 23:36:23"},"1.0.4":{"tag":"1.0.4","author":"seshelby","date":"2020-08-01 07:11:51"},"1.0.5":{"tag":"1.0.5","author":"seshelby","date":"2020-10-17 15:49:41"},"1.0.6":{"tag":"1.0.6","author":"seshelby","date":"2020-11-14 13:44:11"},"1.0.7":{"tag":"1.0.7","author":"seshelby","date":"2020-12-15 22:16:47"},"1.0.8":{"tag":"1.0.8","author":"seshelby","date":"2021-08-31 20:56:23"},"1.0.9":{"tag":"1.0.9","author":"seshelby","date":"2022-05-08 12:47:19"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2117818,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1741,80,5048],"plugin_category":[43],"plugin_contributors":[168606],"plugin_business_model":[],"class_list":["post-105575","plugin","type-plugin","status-publish","hentry","plugin_tags-accordion","plugin_tags-shortcode","plugin_tags-spoiler","plugin_category-customization","plugin_contributors-seshelby","plugin_committers-seshelby"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-accessible-spoilers\/assets\/icon-128x128.png?rev=2117818","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Create fully accessible content spoilers or accordions with a shortcode.<\/p>\n\n<ol>\n<li>Fully accessible to screen reader users<\/li>\n<li>Creates a flexible spoiler shortcode<\/li>\n<li>Define groups of accordions to close open accordions when another in the same group is opened.<\/li>\n<li>Override design in theme CSS files<\/li>\n<\/ol>\n\n<h3>Sample Code<\/h3>\n\n<p><code>[spoiler title=\"Sample Code\" initial_state=\"expanded\" tag=\"h2\" group=\"a\"]\nInclude content here\n[\/spoiler]<\/code><\/p>\n\n<h3>Attributes<\/h3>\n\n<p>title: should include the clickable text to be displayed in your accordion \ninitial_state: values include collapsed or expanded, default to \"collapsed\"\ngroup: any alphanumeric value. used to define a group of accordions. when one accordion is opened all other items in the group will be closed.\ntag: values include any typical html tag but a heading tag should be used for accessibility, defaults to H2<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install via WordPress Dashboard or upload <code>simple-accessible-spoilers.zip<\/code>;<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress;<\/li>\n<li>Use \"spoiler\" shortcode in your content;<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20can%20i%20customize%20design%20of%20the%20spoiler%3F'><h3>How can I customize design of the spoiler?<\/h3><\/dt>\n<dd><p>Override the styles found in <code>styles\/simple-accessible-spoilers-styles.css<\/code> in your theme css files<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.13<\/h4>\n\n<ol>\n<li>added active and in focus styles for selected spoiler header<\/li>\n<li>removed role from heading tags and enclosed the heading text inside a button tag<\/li>\n<li>replaced css content for dashicon arrow with span element<\/li>\n<\/ol>\n\n<h4>1.0.12<\/h4>\n\n<ol>\n<li>corrected unescaped output variables<\/li>\n<\/ol>\n\n<h4>1.0.11<\/h4>\n\n<ol>\n<li>removed check for post before enqueueing styles and scripts to allow the shortcode to run in archive templates<\/li>\n<li>changed to expansion speed of accordians to slow<\/li>\n<li>modernized the look of the spoilers but adding rounded corners and updated icons<\/li>\n<li>corrected page scroll when space bar is used to toggle accordian<\/li>\n<\/ol>\n\n<h4>1.0.10<\/h4>\n\n<ol>\n<li>corrected aria-expanded not updating on non-active elements when another element in the same group is activated<\/li>\n<\/ol>\n\n<h4>1.0.9<\/h4>\n\n<ol>\n<li>corrected spoiler titles being stripped when certain accented characters exists in the title<\/li>\n<\/ol>\n\n<h4>1.0.8<\/h4>\n\n<ol>\n<li>added option to customize shortcode<\/li>\n<\/ol>\n\n<h4>1.0.7<\/h4>\n\n<ol>\n<li>changed spoiler toggle role to link to correct validation issue<\/li>\n<\/ol>\n\n<h4>1.0.6<\/h4>\n\n<ol>\n<li>Added attribute input validation<\/li>\n<\/ol>\n\n<h4>1.0.5<\/h4>\n\n<ol>\n<li>Added option to group accordions so that opening a new accordion will close opened items in the same list.<\/li>\n<\/ol>\n\n<h4>1.0.4<\/h4>\n\n<ol>\n<li>Wordpress 5.5 Compatibility release<\/li>\n<\/ol>\n\n<h4>1.0.3<\/h4>\n\n<ol>\n<li>corrected bug resulting in initial state not displaying correctly<\/li>\n<\/ol>\n\n<h4>1.0.2<\/h4>\n\n<ol>\n<li>corrected php not object error when post object is not found in a page<\/li>\n<li>added jquery dependency to wp_register_script to correct jquery not being loaded in some themes<\/li>\n<\/ol>\n\n<h4>1.0.1<\/h4>\n\n<ol>\n<li>corrected bug with scripts not enqueue as expected<\/li>\n<li>added dashboard messages<\/li>\n<\/ol>","raw_excerpt":"Create fully accessible content spoilers or accordions with a shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/105575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=105575"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/seshelby"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=105575"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=105575"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=105575"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=105575"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=105575"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=105575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}