@asd20/ui 3.2.520 → 3.2.522

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
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.520",
8
+ "version": "3.2.522",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -1,8 +1,9 @@
1
1
  <template>
2
- <!-- <div
3
- id="main-menu-list"
2
+ <div
4
3
  ref="menuContainer"
4
+ id="main-menu-list"
5
5
  class="asd20-site-menu"
6
+ role="group"
6
7
  @click="onBackgroundClick"
7
8
  @focus="onFocus"
8
9
  @blur="onBlur"
@@ -14,8 +15,8 @@
14
15
  @keyup.escape="deactivateSection"
15
16
  @keydown.tab.stop="dismiss"
16
17
  tabindex="0"
17
- > -->
18
- <div
18
+ >
19
+ <!-- <div
19
20
  id="main-menu-list"
20
21
  ref="menuContainer"
21
22
  class="asd20-site-menu"
@@ -25,25 +26,23 @@
25
26
  @keyup.escape="deactivateSection"
26
27
  @keyup.enter="activateSection"
27
28
  tabindex="-1"
28
- >
29
+ > -->
29
30
  <focus-trap :active="active" :initial-focus="() => $refs.focused[0]">
30
31
  <div class="asd20-site-menu__viewport">
31
- <transition name="slide-right" role="group">
32
+ <transition name="slide-right">
32
33
  <div
33
34
  v-if="!activeSection"
35
+ role="group"
34
36
  class="asd20-table-of-contents"
35
- tabindex="-1"
36
- role="menubar"
37
37
  >
38
38
  <button
39
39
  v-for="(section, index) in sections"
40
40
  :key="index"
41
41
  :id="`asd20-site-menu__section-${index}`"
42
42
  class="asd20-table-of-contents__item"
43
- role="menuitem"
44
43
  ref="focused"
45
44
  aria-expanded="false"
46
- :aria-controls="`asd20-site-menu__item-${index}`"
45
+ :aria-owns="`asd20-site-menu__item-${index}`"
47
46
  @click="activeSectionIndex = index"
48
47
  @mouseup="keyboardTriggeredLastAction = false"
49
48
  @keyup="keyboardTriggeredLastAction = true"
@@ -67,7 +66,6 @@
67
66
  <button
68
67
  class="asd20-site-menu__section__back"
69
68
  aria-expanded="true"
70
- role="menuitem"
71
69
  @click="deactivateSection"
72
70
  @mouseup="keyboardTriggeredLastAction = false"
73
71
  @keyup="keyboardTriggeredLastAction = true"
@@ -79,13 +77,12 @@
79
77
  <div
80
78
  :id="`asd20-site-menu__item-${activeSectionIndex}`"
81
79
  class="asd20-site-menu__items"
82
- role="group"
83
80
  >
84
81
  <a
85
82
  v-for="(item, index) in activeSection.items"
86
83
  :id="`asd20-site-menu__item-${activeSectionIndex}-${index}`"
87
84
  :key="index"
88
- role="menuitem"
85
+
89
86
  class="asd20-site-menu__item"
90
87
  :href="item.url"
91
88
  :target="