Skip to content

fix(pills-input): show correct cursor when hovering delete#1884

Draft
ljanner wants to merge 1 commit intomainfrom
fix/pills-input-a11y
Draft

fix(pills-input): show correct cursor when hovering delete#1884
ljanner wants to merge 1 commit intomainfrom
fix/pills-input-a11y

Conversation

@ljanner
Copy link
Copy Markdown
Member

@ljanner ljanner commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

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

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 improves the accessibility of the SiInputPillComponent by converting the delete element from a span to a button and adding an ARIA label. It also introduces a new unit test suite for the component. Feedback includes correcting import paths for testing utilities in the spec file, ensuring proper change detection cycles are triggered in tests, and localizing the hardcoded "Remove" label to support internationalization.

Comment thread projects/element-ng/pills-input/si-input-pill.component.spec.ts Outdated
Comment thread projects/element-ng/pills-input/si-input-pill.component.html Outdated
Comment thread projects/element-ng/pills-input/si-input-pill.component.spec.ts Outdated
Comment thread projects/element-ng/pills-input/si-input-pill.component.spec.ts Outdated
@ljanner ljanner force-pushed the fix/pills-input-a11y branch from f978ccb to d758b8b Compare April 16, 2026 15:09
@ljanner ljanner changed the title fix(pills-input): make pill remove button accessible fix(pills-input): use correct mouse cursor on hover Apr 16, 2026
@ljanner ljanner force-pushed the fix/pills-input-a11y branch from d758b8b to 63bcb3a Compare April 16, 2026 15:11
@ljanner ljanner changed the title fix(pills-input): use correct mouse cursor on hover fix(pills-input): show correct cursor when hovering delete Apr 16, 2026
@ljanner ljanner added this to the 49.x milestone Apr 16, 2026
@ljanner ljanner self-assigned this Apr 16, 2026
@ljanner ljanner force-pushed the fix/pills-input-a11y branch from 63bcb3a to eaf2faf Compare April 16, 2026 15:42
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.

1 participant