Skip to content

Implement Tabs component…#9

Open
joSecret wants to merge 12 commits into1.xfrom
32171-tabs
Open

Implement Tabs component…#9
joSecret wants to merge 12 commits into1.xfrom
32171-tabs

Conversation

@joSecret
Copy link
Contributor

add support for horizontal and vertical orientations, enhance accessibility features, and include comprehensive documentation.

…entations, enhance accessibility features, and include comprehensive documentation.
@joSecret joSecret requested a review from Copilot October 23, 2025 11:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a comprehensive Tabs component that replaces the previous horizontal-only tabs implementation. The component now supports both horizontal and vertical orientations with enhanced accessibility features including ARIA compliance, keyboard navigation, and comprehensive documentation.

Key Changes:

  • Replaced the old horizontal-tabs component with a unified tabs component supporting both horizontal and vertical orientations
  • Enhanced accessibility with proper ARIA roles, keyboard navigation (arrow keys, Home/End), and roving tabindex
  • Added extensive documentation covering usage, CSS variables, accessibility guidelines, and browser requirements

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
modules/edw_paragraphs_tabs/templates/paragraph--edw-tabs.html.twig Updated to use new tabs component with vertical direction parameter
modules/edw_paragraphs_tabs/templates/paragraph--edw-tab--default.html.twig Simplified template by removing wrapper elements
modules/edw_paragraphs_tabs/components/tabs/tabs.twig New unified tabs component template with support for both orientations
modules/edw_paragraphs_tabs/components/tabs/tabs.md Comprehensive documentation for the tabs component
modules/edw_paragraphs_tabs/components/tabs/tabs.js JavaScript implementation with keyboard navigation and orientation support
modules/edw_paragraphs_tabs/components/tabs/tabs.css Styling for both horizontal and vertical tab orientations
modules/edw_paragraphs_tabs/components/tabs/tabs.component.yml Component configuration and property definitions
modules/edw_paragraphs_tabs/components/horizontal-tabs/horizontal-tabs.twig Removed old horizontal-only tabs template
modules/edw_paragraphs_tabs/components/horizontal-tabs/horizontal-tabs.js Removed old horizontal-only tabs JavaScript
modules/edw_paragraphs_tabs/components/horizontal-tabs/horizontal-tabs.css Removed old horizontal-only tabs styles
modules/edw_paragraphs_tabs/components/horizontal-tabs/horizontal-tabs.component.yml Removed old horizontal-only tabs configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

joSecret and others added 2 commits October 23, 2025 14:52
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@marapredescu1 marapredescu1 self-assigned this Oct 23, 2025
joSecret and others added 2 commits October 23, 2025 14:54
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@eaudeweb eaudeweb deleted a comment from Copilot AI Oct 23, 2025
@eaudeweb eaudeweb deleted a comment from Copilot AI Oct 23, 2025
@joSecret joSecret marked this pull request as draft October 30, 2025 12:24
@joSecret joSecret marked this pull request as ready for review February 12, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants