angular/packages/compiler-cli
Leon Senft 4138aca91f feat(core): render ARIA property bindings as attributes (#62630)
Allow binding to ARIA attributes using property binding syntax _without_
the `attr.` prefix. For example, `[aria-label]="expr"` is now valid, and
equivalent to `[ariaLabel]="expr"`. Both examples bind to either a
matching input or the `aria-label` HTML attribute, rather than the
`ariaLabel` DOM property.

Binding ARIA properties as attributes will ensure they are rendered
correctly on the server, where the emulated DOM may not correctly
reflect ARIA properties as attributes.

Reuse the DOM schema registry from the compiler to map property names in
type check blocks.

PR Close #62630
2025-07-22 06:59:00 -04:00
..
linker build: remove all usages of the interop_deps attr for ts_project and ng_project (#62732) 2025-07-21 13:03:09 -04:00
private build: migrate esbuild usages to aspect_rules_esbuild esbuild rule (#62529) 2025-07-09 12:41:27 -07:00
src feat(core): render ARIA property bindings as attributes (#62630) 2025-07-22 06:59:00 -04:00
test feat(core): render ARIA property bindings as attributes (#62630) 2025-07-22 06:59:00 -04:00
BUILD.bazel build: migrate to new toolchain usage for api goldens (#62688) 2025-07-17 18:13:42 -04:00
esbuild.config.js build: use esbuild from aspect rules (#62568) 2025-07-10 13:45:15 -07:00
index.ts refactor(compiler-cli): export type used by migrations (#61697) 2025-05-30 09:50:58 -04:00
package.json feat(core): support TypeScript 5.9 (#62541) 2025-07-14 14:04:58 -07:00
tsconfig-test.json build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00
tsconfig.json build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00