Skip to content

Sync aria-required with required state - 20.0.x#16002

Closed
IvanKitanov17 wants to merge 4 commits into20.0.xfrom
ikitanov/fix-16000-20.0.x
Closed

Sync aria-required with required state - 20.0.x#16002
IvanKitanov17 wants to merge 4 commits into20.0.xfrom
ikitanov/fix-16000-20.0.x

Conversation

@IvanKitanov17
Copy link
Contributor

Closes #16000

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

@IvanKitanov17 IvanKitanov17 requested a review from Lipata June 26, 2025 07:30
@IvanKitanov17 IvanKitanov17 added ♿ a11y When the issue or PR is related to accessibility combo aria-support labels Jun 26, 2025
@IvanKitanov17 IvanKitanov17 changed the base branch from master to 20.0.x June 26, 2025 07:30
@ChronosSF ChronosSF self-requested a review July 1, 2025 08:36
protected manageRequiredAsterisk(): void {
if (this.ngControl) {
this.inputGroup.isRequired = this.required;
this.comboInput.nativeElement.setAttribute('aria-required', this.required.toString());
Copy link
Member

@ChronosSF ChronosSF Jul 11, 2025

Choose a reason for hiding this comment

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

Is there any reason why this is not part of the template?

(apart from, I guess, having to add it to both the simple combo and the combo templates, but I think it doesn't outweigh having a more native angular implementation)

@ChronosSF
Copy link
Member

Closing as I retrofitted the changes in another PR

@ChronosSF ChronosSF closed this Jul 25, 2025
@ChronosSF ChronosSF deleted the ikitanov/fix-16000-20.0.x branch July 25, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aria-support combo ♿ a11y When the issue or PR is related to accessibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[igx-combo] required attribute is always set to false

2 participants