Skip to content

Ergonomic syntax for aria attributes broken #63744

Closed

Description

@samvloeberghs

Which @angular/* package(s) are the source of the bug?

compiler-cli, compiler, core

Is this a regression?

Yes

Description

See

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"

Activity

  1. added
    area: core
    on Sep 11, 2025
  2. added this to the needsTriage milestone on Sep 11, 2025
  3. added
    area: compiler
    and removed
    area: core
    on Sep 11, 2025
  4. added a commit that references this issue on Sep 11, 2025
    64c363c
  5. JeanMeche commented on Sep 11, 2025

    @JeanMeche
    Member

    The issue was specific to ariaInvalid that was unknown by our schema. #63748 will address it.

  6. JeanMeche commented on Sep 14, 2025

    @JeanMeche
    Member

    We'll also include in #63748 the support for missing attributes (expect those deprecated before Aria 1.2)

  7. added a commit that references this issue on Sep 15, 2025
    7fb5a80
  8. added a commit that references this issue on Sep 15, 2025
    803dc8e
  9. added a commit that references this issue on Sep 18, 2025
    8d191d4
  10. angular-automatic-lock-bot commented on Oct 16, 2025

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  11. locked and limited conversation to collaborators on Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: compiler

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions