-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Ergonomic syntax for aria attributes broken #63744
Copy link
Copy link
Closed
Labels
area: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compiler
Milestone
Description
Which @angular/* package(s) are the source of the bug?
compiler-cli, compiler, core
Is this a regression?
Yes
Description
See
- https://blog.angular.dev/angular-summer-update-2025-1987592a0b42#1688
- https://github.com/angular/angular/pull/62630/files
I would expect [aria-invalid]="boolean" to work. [attr.aria-invalid]="boolean" still works.
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/angular-next-fnwtwrez?file=src%2Fapp.ts
Please provide the exception or error you saw
Error in src/app.ts (33:11)
Can't bind to 'ariaInvalid' since it isn't a known property of 'input'.
Please provide the environment you discovered this bug in (run ng version)
"@angular/animations": "21.0.0-next.2",
"@angular/common": "next",
"@angular/compiler": "next",
"@angular/core": "next",
"@angular/forms": "next",
"@angular/platform-browser": "next",
"@angular/router": "next",
"@standard-schema/spec": "^1.0.0",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
"zone.js": "~0.15.0"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compiler