Closed
Description
Copied from internal bug report:
According to https://material.angular.io/components/input/overview#accessibility:
Any mat-error and mat-hint are automatically added to the input's aria-describedby list,...
but it seems they are not added but replace the pre-existing aria-describedby, see here
We use the aria-describedby to announce keyboard shortcuts for sending the form, and that breaks if matInput overwrites this.
Would it be possible to store the previous aria-describedby attribute and maintain it whenever setting this? That seems more inline with the docs and allows e.g. our use case.
cc: @rehmsen