youtube image
From YouTube: Building an accessible Accordion web part

Description

In this 11-minute Developer focused demo, Erik Benke introduces us to a web part for building/adding a collapsible accordion style FAQ to a SharePoint page or Teams tab. Functionally, the code invokes a get list items method to grab items from targeted list, populates the accordion and renders the formatted result. Each accordion item has a header and panel. The web part leverages the react-accessible-accordion library designed to be Accessible (works well with screen readers) and can be easily customized via CSS. This PnP Community demo is taken from the SharePoint Framework and JavaScript Special Interest Group (SIG) – Bi-weekly sync call recorded on August 27, 2020.

Demo Presenter: Erik Benke (Mentor Graphics) | @erikjbenke

Supporting materials:
• Repo - SPFx Accordion Section FAQ Builder web part | https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-accordion-section

Learn more:
• Learn more about the Microsoft 365 Patterns and Practices community at: http://aka.ms/m365pnp
• Visit the Microsoft 365 Patterns and Practices community YouTube channel: https://aka.ms/m365pnp-videos