Skip to content

Core-1551: Make list for dropdown links#2829

Merged
RoyEJohnson merged 2 commits intomainfrom
core-1551-make-list-for-subject-menu-items
Feb 19, 2026
Merged

Core-1551: Make list for dropdown links#2829
RoyEJohnson merged 2 commits intomainfrom
core-1551-make-list-for-subject-menu-items

Conversation

@RoyEJohnson
Copy link
Copy Markdown
Contributor

@RoyEJohnson RoyEJohnson commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

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

Updates the main-menu dropdown markup to use semantic lists for dropdown links (CORE-1551), with small related keyboard-navigation and styling adjustments.

Changes:

  • Convert dropdown menu container from a <div> to a <ul> and wrap each MenuItem link in an <li>.
  • Update keyboard navigation to focus the first available link via querySelector('a').
  • Add basic list styling reset for the dropdown menu.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/app/layouts/default/header/menus/main-menu/dropdown/use-navigate-by-key.ts Broadens dropdown ref element type and updates initial focus targeting to work with the new list structure.
src/app/layouts/default/header/menus/main-menu/dropdown/dropdown.tsx Changes dropdown contents to <ul> and wraps menu links in <li> elements.
src/app/layouts/default/header/menus/main-menu/dropdown/dropdown.scss Adds list-style-type: none; to remove list bullets for the new <ul>.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RoyEJohnson RoyEJohnson force-pushed the core-1551-make-list-for-subject-menu-items branch from 335e0cd to 9b5ed83 Compare February 18, 2026 23:27
@RoyEJohnson RoyEJohnson requested a review from Copilot February 18, 2026 23:28
@RoyEJohnson RoyEJohnson requested a review from jivey February 18, 2026 23:30
Copy link
Copy Markdown
Contributor

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RoyEJohnson RoyEJohnson merged commit afe44d5 into main Feb 19, 2026
7 checks passed
@RoyEJohnson RoyEJohnson deleted the core-1551-make-list-for-subject-menu-items branch February 19, 2026 13:29
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