From 66a1af616606d11124b207e144128161269e83d9 Mon Sep 17 00:00:00 2001 From: mmalerba Date: Tue, 11 Dec 2018 09:43:19 -0800 Subject: [PATCH 1/7] Revert "Revert "fix(a11y): activeItem out of date if active index is removed from ListKeyManager" (#14467)" This reverts commit 8f790f52c713d1b0ae6e4a711b1600f27039361b. From dde95715fde06f0c570c6906c361f2f71ffa266b Mon Sep 17 00:00:00 2001 From: mmalerba Date: Tue, 11 Dec 2018 09:43:19 -0800 Subject: [PATCH 2/7] Revert "build: update sauce connect (#14422)" This reverts commit bc563b713adb8bc704b5822b872755a29246b4c1. From c425551d66250c1b84572ec0c2316a5a0f9e6b01 Mon Sep 17 00:00:00 2001 From: mmalerba Date: Tue, 11 Dec 2018 09:43:19 -0800 Subject: [PATCH 3/7] Revert "build: changelog script not filtering duplicate entries (#14421)" This reverts commit fe4629024ffb5034df8cc931f7119a22497241eb. From 1860824e5a09fd905226205d4ead5a7038968ea5 Mon Sep 17 00:00:00 2001 From: mmalerba Date: Tue, 11 Dec 2018 09:43:19 -0800 Subject: [PATCH 4/7] Revert "build: update to angular 7.1.2 (#14418)" This reverts commit e1487dfac4ec7ec0802715f16c2b866f1cf52be5. From 8b20c09946165e751fa0c18e6315b2fee2860a9e Mon Sep 17 00:00:00 2001 From: mmalerba Date: Tue, 11 Dec 2018 09:43:19 -0800 Subject: [PATCH 5/7] Revert "refactor(drag-drop): move logic out of directives (#14350)" This reverts commit 19f9bca6fb8b022f34317a1c66a451eb453cf282. From f94fc92e654bff0339d97a3091d82a681cbd6d47 Mon Sep 17 00:00:00 2001 From: mmalerba Date: Tue, 11 Dec 2018 09:43:19 -0800 Subject: [PATCH 6/7] Revert "fix(checkbox): redirect focus to underlying input element (#13959)" This reverts commit e0eb3dfb649380e320b1e08ba6f47862b8aec7e5. From 45c27c2ae4d573b250449b49325ff4257645832e Mon Sep 17 00:00:00 2001 From: mmalerba Date: Tue, 11 Dec 2018 09:43:19 -0800 Subject: [PATCH 7/7] Revert "fix(radio): host element unable to receive focus events (#13956)" This reverts commit 41eb27e7ddda8ccacf355f25d6048e09b2e2703f. --- src/lib/radio/radio.scss | 3 +-- src/lib/radio/radio.spec.ts | 2 +- src/lib/radio/radio.ts | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/lib/radio/radio.scss b/src/lib/radio/radio.scss index 2d867d5eb742..02d50f4569c0 100644 --- a/src/lib/radio/radio.scss +++ b/src/lib/radio/radio.scss @@ -10,7 +10,6 @@ $mat-radio-ripple-radius: 20px; .mat-radio-button { display: inline-block; -webkit-tap-highlight-color: transparent; - outline: 0; } // Inner label container, wrapping entire element. @@ -142,7 +141,7 @@ $mat-radio-ripple-radius: 20px; opacity: 0.04; } - .mat-radio-button:not(.mat-radio-disabled).cdk-focused & { + .mat-radio-button.cdk-focused & { opacity: 0.12; } diff --git a/src/lib/radio/radio.spec.ts b/src/lib/radio/radio.spec.ts index d87b9bdcbc38..49e03a8b30e6 100644 --- a/src/lib/radio/radio.spec.ts +++ b/src/lib/radio/radio.spec.ts @@ -723,7 +723,7 @@ describe('MatRadio', () => { const radioButtonEl = predefinedFixture.debugElement.query(By.css('.mat-radio-button')).nativeElement; - expect(radioButtonEl.getAttribute('tabindex')).toBe('-1'); + expect(radioButtonEl.getAttribute('tabindex')).toBeFalsy(); }); }); diff --git a/src/lib/radio/radio.ts b/src/lib/radio/radio.ts index 733e72fa7569..dc77a2ef91f6 100644 --- a/src/lib/radio/radio.ts +++ b/src/lib/radio/radio.ts @@ -336,8 +336,7 @@ export const _MatRadioButtonMixinBase: '[class.mat-radio-checked]': 'checked', '[class.mat-radio-disabled]': 'disabled', '[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"', - // Needs to be -1 so the `focus` event still fires. - '[attr.tabindex]': '-1', + '[attr.tabindex]': 'null', '[attr.id]': 'id', // Note: under normal conditions focus shouldn't land on this element, however it may be // programmatically set, for example inside of a focus trap, in this case we want to forward