Data Binding in Angular Templates binds to properties not attributes. As aria-*
attributes are not properties, they cannot be bound to. If you want to bind to aria attributes, you need to use the [attr.aria-*]
syntax.
<!-- Does NOT work -->
<div [aria-hidden]="isHidden">
<!-- ... -->
</div>
<!-- Works -->
<div [attr.aria-hidden]="isHidden">
<!-- ... -->
</div>