From e349fe4d7c1cca132cc12ff971c19efd8ff4d401 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 15 Jun 2018 22:22:33 +0200 Subject: [PATCH] fix(select): label not being read out when using mat-label in mat-form-field (#11710) Fixes the `mat-select` label not being read out by screen readers, if it's specified via a `mat-label` on a `mat-form-field`. --- src/lib/form-field/form-field.html | 1 + src/lib/form-field/form-field.ts | 3 +++ src/lib/select/select.spec.ts | 39 ++++++++++++++++++++++++++++++ src/lib/select/select.ts | 23 +++++++++++++++--- 4 files changed, 62 insertions(+), 4 deletions(-) diff --git a/src/lib/form-field/form-field.html b/src/lib/form-field/form-field.html index 13254c0732e..4323d75841c 100644 --- a/src/lib/form-field/form-field.html +++ b/src/lib/form-field/form-field.html @@ -12,6 +12,7 @@