CSR-478 role attr did not prevent JAWS from intercepting up arrow

This commit is contained in:
CarlNation 2022-04-12 11:14:27 -04:00
parent b2350e2286
commit bc33d8f1a7

View file

@ -6,7 +6,7 @@
© {{new Date().getFullYear()}} Safelite Group
</div>
</div>
<div class="row" :style="`padding-bottom: ${paddingHeight}px`" v-bind:role="roleAttr">
<div class="row" :style="`padding-bottom: ${paddingHeight}px`">
<div class="col d-flex justify-content-center justify-content-around text-center">
<textLink linkType="footer" text="Terms of use" href="https://www.safelite.com/terms-of-use" />
<textLink linkType="footer" text="Privacy policy" href="https://www.safelite.com/safelite-group-privacy-policy" />
@ -59,7 +59,6 @@ export default {
return {
paddingHeight: 0,
customButtontext: '',
roleAttr: '',
}
},
mounted() {
@ -97,8 +96,6 @@ export default {
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() {