Skip to content

fix(breadcrumb): add space key activation to dropdown toggle#2061

Open
akashsonune wants to merge 1 commit into
mainfrom
fix/a11y-breadcrumb-space-key-activation
Open

fix(breadcrumb): add space key activation to dropdown toggle#2061
akashsonune wants to merge 1 commit into
mainfrom
fix/a11y-breadcrumb-space-key-activation

Conversation

@akashsonune

@akashsonune akashsonune commented May 13, 2026

Copy link
Copy Markdown
Member

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds a space key event listener to the breadcrumb component to improve accessibility. The reviewer suggested refactoring the inline logic into a dedicated component method to adhere to the project's style guide, which discourages complex logic within templates.

Comment thread projects/element-ng/breadcrumb/si-breadcrumb.component.html Outdated
@akashsonune akashsonune marked this pull request as ready for review May 13, 2026 15:25
@akashsonune akashsonune requested review from a team as code owners May 13, 2026 15:25
@akashsonune akashsonune requested a review from dr-itz May 15, 2026 14:52
@spike-rabbit

Copy link
Copy Markdown
Member

@akashsonune needs rebasing

@akashsonune akashsonune force-pushed the fix/a11y-breadcrumb-space-key-activation branch 2 times, most recently from 82c15d9 to c9643cd Compare June 11, 2026 07:21
@akashsonune akashsonune requested a review from spike-rabbit June 11, 2026 07:45
Comment thread projects/element-ng/breadcrumb/si-breadcrumb.component.html Outdated
@akashsonune akashsonune force-pushed the fix/a11y-breadcrumb-space-key-activation branch from c9643cd to 018872f Compare June 11, 2026 09:33
padding: 0;
border: 0;
background: none;
cursor: pointer;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please try to remove this entire class and just btn btn-link

@akashsonune akashsonune force-pushed the fix/a11y-breadcrumb-space-key-activation branch from 018872f to 202ecee Compare June 11, 2026 11:09
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.

2 participants