refactor(aria/tabs): remove unnecessary LabelControl usage#33148
refactor(aria/tabs): remove unnecessary LabelControl usage#33148adolgachev merged 1 commit intoangular:mainfrom
Conversation
4298792 to
95daa4b
Compare
95daa4b to
fdd8a11
Compare
ok7sai
left a comment
There was a problem hiding this comment.
I don't understand why remove it instead of just reworking the LabelControl and properly bind to the directive.
See the PR notes. I have a PR for that but easier to just remove the usage first as it has no benefit. Then we can discuss the approach and not have this single unnecessary usage get in the way of reworking it. |
|
I see the PR note but I don't see a reworked LabelControl other than changing the |
ok7sai
left a comment
There was a problem hiding this comment.
Since you created a CL already feel free to remove it.
|
This PR was merged into the repository. The changes were merged into the following branches:
|
Remove unnecessary usage of LabelControl in Tab pattern. It doesn't help if just used for setting aria-labelledby as just a lot of redirection to accomplish the same thing.
See #33146 for subsequent work to make LabelControl easier to use, and then to actually use it for the full usage allowing users of the directives to supply custom aria-labelledby or aria-label.