Skip to content

Commit

Permalink
fix: Make aria-expanded dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
ktquez committed Jun 25, 2020
1 parent 55d5371 commit 3e43380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SocialChat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
:class="{ 'vsc-popup-button--no-icon': !icon }"
aria-haspopup="true"
aria-controls="vsc-popup-box"
aria-expanded="false"
:aria-expanded="show"
:aria-label="ariaLabelButton"
:title="ariaLabelButton"
@click="togglePopup"
Expand Down Expand Up @@ -104,7 +104,7 @@ export default {
computed: {
ariaLabelButton () {
return `${this.show ? 'Close' : 'Open'} social support widget`
return `${this.show ? 'Close' : 'Open'} social chat popup`
},
getAttendants () {
Expand Down

0 comments on commit 3e43380

Please sign in to comment.