Closes #5425 Add carousel categories#5478
Draft
joshuasosa wants to merge 1 commit intomainfrom
Draft
Conversation
Contributor
|
Draft accessibility note — category field is fine, one heads-up for the filtering UI The category taxonomy field and vocabulary config look good — One thing to keep in mind when building the filtering UI: When tab bars, button groups, or links are eventually added to let users filter the carousel by category, those controls will need proper ARIA patterns:
Not a concern for this PR as-is — just flagging it early so the pattern is designed in from the start rather than retrofitted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds carousel categories with a new carousel categories taxonomy, categories field in the carousel content type, category contextual filter in the carousel view, and adjusts the paragraphs view to enable carousel as an option.
The idea is to use a flexible block to add a paragraph view with the argument filled for a certain category. That block can then be placed in the highlight block region and restricted to a certain page or set of pages.
Release notes
Related issues
Closes #5425
How to test
Types of changes
Arizona Quickstart (install profile, custom modules, custom theme)
Drupal core
Drupal contrib projects
Checklist