Merge pull request #340 from Safelite/feature/CSR-478
CSR-478 role attr did not prevent JAWS from intercepting up arrow
This commit is contained in:
commit
b4e4de442b
1 changed files with 1 additions and 4 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue