Skip to content

fix(file-uploader): add role button and space key activation#2060

Draft
akashsonune wants to merge 15 commits into
mainfrom
fix/a11y-use-role-button
Draft

fix(file-uploader): add role button and space key activation#2060
akashsonune wants to merge 15 commits into
mainfrom
fix/a11y-use-role-button

Conversation

@akashsonune
Copy link
Copy Markdown
Member

@akashsonune akashsonune commented May 13, 2026

chintankavathia and others added 15 commits May 12, 2026 13:36
…kerConfig

BREAKING CHANGE: `CriterionDefinition.datepickerConfig` type narrowed

The type of `datepickerConfig` in `CriterionDefinition` (filtered-search) changed from `DatepickerInputConfig` to `Omit<DatepickerInputConfig, 'enableDateRange' | 'enableTwoMonthDateRange'>`.

The properties `enableDateRange` and `enableTwoMonthDateRange ` are no longer accepted in `datepickerConfig` when used with filtered-search criteria, as they had no effect in that context.

Migration: Remove any `enableDateRange` and `enableTwoMonthDateRange` properties from your `datepickerConfig` objects passed to `CriterionDefinition`.
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 file uploader by adding a button role and space key support to the file selection span. The reviewer suggested moving the multi-statement logic from the space key event binding into a component method to adhere to the style guide's requirement for simple templates.

Comment thread projects/element-ng/file-uploader/si-file-dropzone.component.html
@github-actions
Copy link
Copy Markdown

⬇️ Download VRTs

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.

4 participants