angular/packages/compiler-cli/test/compliance/test_cases
Matthieu Riegler 542cd0019a fix(core): do not rename ARIA property bindings to attributes (#64089)
angular#62630 made it so that all ARIA
property bindings would write to their corresponding attribute instead.
The primary motivation for this change was to ensure that ARIA
attributes were always rendered correctly on the server, where the
emulated DOM may not correctly reflect ARIA properties as attributes.
Furthermore, this change added support for binding to ARIA attributes
using the property binding syntax (e.g. `[aria-label]`).

Unfortunately, angular#62630 relied on
the incorrect assumptions that an ARIA property name could be converted
to its attribute name (without hardcoding the conversion), and that the
value of an ARIA property matched its corresponding attribute. For
example, the `ariaLabelledByElements` property's value is an array of
DOM elements, while the corresponding `aria-labelledby` attribute's
value is a string containing the IDs of the DOM elements.

This partially reverts angular#62630 so
that only property bindings with ARIA attribute names (begin with
`aria-`) are converted to attribute bindings.

* `[ariaLabel]` will revert to binding to the `ariaLabel` property.
* `[aria-label]` will continue binding to the `aria-label` attribute.

Note the only difference between `[aria-label]` and `[attr.aria-label]`
is that the former will attempt to bind to inputs of the same name while
the latter will not.

PR Close #64089
2025-09-25 14:51:13 -04:00
..
model_inputs Revert "fix(compiler-cli): capture metadata for undecorated fields (#63904)" (#63952) 2025-09-19 18:59:43 +00:00
output_function Revert "fix(compiler-cli): capture metadata for undecorated fields (#63904)" (#63952) 2025-09-19 18:59:43 +00:00
r3_compiler_compliance refactor(compiler): produce DOM-only instructions (#62096) 2025-06-23 14:24:09 +02:00
r3_view_compiler refactor(core): dispatch enter and leave animations at the right times (#63710) 2025-09-10 22:24:31 +00:00
r3_view_compiler_bindings fix(core): do not rename ARIA property bindings to attributes (#64089) 2025-09-25 14:51:13 -04:00
r3_view_compiler_control_flow feat(core): support as aliases on else if blocks (#63047) 2025-08-08 08:43:00 -07:00
r3_view_compiler_deferred fix(compiler-cli): resolve import alias in defer blocks (#63966) 2025-09-22 15:52:17 +00:00
r3_view_compiler_di/di refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_directives refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_i18n fix(compiler): error when ng-content fallback has translated children (#63156) 2025-08-15 09:47:18 +02:00
r3_view_compiler_input_outputs feat(compiler-cli): add experimental support for fast type declaration emission (#61334) 2025-05-14 14:07:37 -07:00
r3_view_compiler_let refactor(compiler): produce DOM-only instructions (#62096) 2025-06-23 14:24:09 +02:00
r3_view_compiler_listener Revert "fix(compiler-cli): capture metadata for undecorated fields (#63904)" (#63952) 2025-09-19 18:59:43 +00:00
r3_view_compiler_providers refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
r3_view_compiler_styling fix(compiler): allow more characters in square-bracketed attribute names (#62742) 2025-07-23 11:06:47 -04:00
r3_view_compiler_template refactor(compiler): produce DOM-only instructions (#62096) 2025-06-23 14:24:09 +02:00
signal_inputs Revert "fix(compiler-cli): capture metadata for undecorated fields (#63904)" (#63952) 2025-09-19 18:59:43 +00:00
signal_queries Revert "fix(compiler-cli): capture metadata for undecorated fields (#63904)" (#63952) 2025-09-19 18:59:43 +00:00
source_mapping Revert "fix(compiler-cli): capture metadata for undecorated fields (#63904)" (#63952) 2025-09-19 18:59:43 +00:00
BUILD.bazel build: rename defaults2.bzl to defaults.bzl (#63384) 2025-08-25 15:45:46 -07:00
list_golden_update_rules.ts build: use pnpm as the package manager instead of yarn (#62924) 2025-07-31 22:06:27 +00:00
test_case_schema.json feat(compiler-cli): add experimental support for fast type declaration emission (#61334) 2025-05-14 14:07:37 -07:00