How to integrate your pattern library with Drupal's layout builder using Component Blocks module
A short video showing how to use the newly released Component Blocks module.
A short video showing how to use the newly released Component Blocks module.
Jest is the defacto standard for testing in modern JavaScript but we've traditionally not been able to leverage it for testing in Drupal.
But with twig-testing-library, we can now test our twig templates and any dynamic behaviours added by Javascript using Jest.
In this article we will go through the process of adding Jest based testing to an existing accordion component.
The State Library of South Australia is the state's largest public reference library with a collection focused on South Australian information and general reference material for information and research purposes. The library engaged PreviousNext to research their customers' needs and then design a new modern, engaging and accessible website in Drupal 8.
Generally speaking hiding content goes alongside a bit of javascript that unhides the content under certain circumstances (think hamburger menu). Sometimes the content improves accessibility but is considered visual noise (says the designer). So as the developer you have a lot of ways to approach this.