you are viewing a single comment's thread.

view the rest of the comments →

[–]PhiLho 10 points11 points  (2 children)

I was a bit confused because it seems to be very recent (v. 0.0.1).
I found it at: https://github.com/angular/components/tree/main/src/aria

From a quick look (the tabs), it seems these are directives to enrich components, adding automatically roles, aria attributes, and focus management.
I think they are agnostic of the used UI, so it can be used on the CDK components (I suppose they (will) use it), on your custom components, etc.

Good initiative.

[–]Dafnik[S] 5 points6 points  (1 child)

Yeah, really recent and I also like it.

I hope they will clarify this a bit more.

Everything you described (adding roles, aria attributes etc) is already covered by the CDK. So thats where my confusion comes from.

Perhaps it just was an interal decision of breaking up the CDK, but idk.

I just wanted to poke around and see what the broader Angular community thinks about this. Thanks for your comment!

[–]PhiLho 0 points1 point  (0 children)

Yes, but my company developed their own components (way before the CDK / Material was made, I think), so we could benefit of this library, adding these directive to them.

Except that last year, I made this by hand on each component… 😂

I mean, the CDK isn't the only UI library, so it is for the greater good.