@worksafevictoria/wcl7.5 1.9.0-beta.6 → 1.9.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worksafevictoria/wcl7.5",
3
- "version": "1.9.0-beta.6",
3
+ "version": "1.9.0-beta.7",
4
4
  "main": "src/index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -145,18 +145,28 @@
145
145
 
146
146
  <a
147
147
  v-if="menuItem.absolute === menuItem.relative"
148
- :role="!menuItem.absolute ? 'button' : false"
149
- :href="menuItem.absolute"
150
- class="app-footer-menu__title--link dark"
151
- :class="!menuItem.absolute ? 'nolink' : false"
148
+ :role="!menuItem.absolute ? 'button' : null"
149
+ :href="menuItem.absolute || undefined"
150
+ :class="[
151
+ 'app-footer-menu__title--link',
152
+ 'dark',
153
+ { nolink: !menuItem.absolute },
154
+ ]"
155
+ :tabindex="!menuItem.absolute ? 0 : undefined"
152
156
  target="_blank"
153
- :aria-expanded="isMobile ? (menuItem.isOpen ? 'true' : 'false') : false"
157
+ :aria-expanded="
158
+ isMobile && !menuItem.absolute
159
+ ? menuItem.isOpen
160
+ ? 'true'
161
+ : 'false'
162
+ : undefined
163
+ "
154
164
  @click.prevent="handleAbsoluteClick(menuItem)"
155
165
  ><h2>{{ menuItem.title }}</h2>
156
166
  </a>
157
167
  <nuxt-link
158
168
  v-else
159
- :to="menuItem.relative"
169
+ :to="menuItem.title"
160
170
  class="app-footer-menu__title--link dark"
161
171
  >
162
172
  <h2>{{ menuItem.title }}</h2>
@@ -210,10 +220,11 @@
210
220
  >
211
221
  <a
212
222
  :aria-expanded="
213
- isMobile ? (contactMenuIsOpen ? 'true' : 'false') : false
223
+ isMobile ? (contactMenuIsOpen ? 'true' : 'false') : undefined
214
224
  "
215
225
  role="button"
216
226
  class="app-footer-menu__title--link dark nolink"
227
+ tabindex="0"
217
228
  ><h2>Contact</h2></a
218
229
  >
219
230
  <img
@@ -20,7 +20,6 @@
20
20
  <b-modal
21
21
  :id="`wcl-video-modal-${video.id}`"
22
22
  v-model="showModal"
23
- title="Video modal"
24
23
  scrollable
25
24
  class="wcl-video-modal__modal"
26
25
  no-footer