The Test Team helps manage testing and triage across the WordPress ecosystem. They focus on user testing of the editing experience and WordPress dashboard, replicating and documenting bug reports, and supporting a culture of review and triage across the project.
Please drop by any time in SlackSlackSlack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. with questions or to help out.
As part of the upcoming WordPress 6.9 release, we are introducing a brand-new blockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience., the Accordion block.
This block was first introduced in the Gutenberg 21.5 release as an experimental feature and is now being stabilised. More testing is needed to ensure its reliability and polish before it ships with the WordPress 6.9 release.
What is the Accordion block?
The Accordion block lets you display collapsible sections of content, which is ideal for FAQs, expandable information lists, etc.
The block acts as a container, i.e. Accordion that holds multiple child blocks, which we can consider as Accordion Items
By default, adding an Accordion block inserts two Accordion Items.
Each item contains a title and an expandable content area that can be toggled open or closed.
Note: In the latest specification, only one accordion item is inserted. This will the new behavior in GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ 21.9 Release. Please check #72021 PR for more details.
Now, before we start testing, let’s understand the difference between the Accordion and the Details blocks.
While both blocks allow collapsible content, their structure and purpose differ:
Accordion block: Designed for multiple collapsible grouped sections, such as FAQ lists. It contains several Accordion Items inside a single parent block, as shown in the screenshot below.
Details block: Intended for a single collapsible section, for example, a single “Read more” toggle as shown in the screenshot below.
Test Steps
Please try out the Accordion block in the latest Gutenberg pluginPluginA plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party (v21.5 or later). Here are some testing scenarios:
Visit Gutenberg > Experiments and check the option to “Enable experimental blocks”
Navigate to Post/Page or template
Verify you can add an Accordion block now.
Confirm that the Accordion Item is added with an Accordion Heading and an Accordion Panel (ref the screenshot above)
Edit item placeholders and add content inside the Accordion Panel
Save and confirm that expand/collapse both function as expected in the front end and the editor
Verify Reordering
Move Accordion Items up or down
Confirm that the order updates correctly in both the editor and the frontend
Styling & Settings: This only applies to all items when you work through the global styles. If you change the style of an item in a block instance, the style will not be reflected in other items.
Confirm that styles are reflected in all items consistently.
Verify the duplicate of the accordion block
Remove an existing item and ensure the block continues to function as expected
Discover more scenarios based on the different use cases and see if that works as expected. Refer to the visual below to understand how you can play around with different settings.
Testing Instruction
Why Your Testing Matters
Your feedback helps ensure the Accordion block offers a consistent, stable, and intuitive experience for all users, including the AccessibilityAccessibilityAccessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility) considerations. If you encounter any related issues, please report them here.
How to report an issue
Write down step-by-step instructions on how an issue can be reproduced. Also, attach a screenshot/screencap for better clarity.
Use the Test report plugin to collect all essential metaMetaMeta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. information.
Before creating a new issue, check if there is a related issue has already been reported in the Guutenberg repo. If not, create a new one here.
You must be logged in to post a comment.