From b2350e22865924ee94d4672e5de4d69ae40d39a2 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Tue, 12 Apr 2022 10:30:32 -0400 Subject: [PATCH] CSR-478 trying to prevent JAWS key press intercept after click --- src/common-components/funnel-footer/funnel-footer.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common-components/funnel-footer/funnel-footer.vue b/src/common-components/funnel-footer/funnel-footer.vue index 8892d70a1..360378455 100644 --- a/src/common-components/funnel-footer/funnel-footer.vue +++ b/src/common-components/funnel-footer/funnel-footer.vue @@ -6,7 +6,7 @@ © {{new Date().getFullYear()}} Safelite Group -
+
@@ -59,6 +59,7 @@ export default { return { paddingHeight: 0, customButtontext: '', + roleAttr: '', } }, mounted() { @@ -92,9 +93,12 @@ export default { this.$refs.buttonMain.removeLoader(); }, buttonClick() { + //prevent keyboard input after button click document.onkeydown = function (e) { return false; }; + //this role is so that JAWS will not allow keyboard input after button clicked due to JAWS intercepting key presses + this.roleAttr = 'application'; this.$emit("ForwardClicked"); }, linkClick() {