@saooti/octopus-sdk 31.0.23 → 31.0.24

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/README.md CHANGED
@@ -599,3 +599,4 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
599
599
  * 31.0.21 Player mobile
600
600
  * 31.0.22 Merge 30
601
601
  * 31.0.23 Qr Code option noir
602
+ * 31.0.24 Amélioration accessibilité
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "31.0.23",
3
+ "version": "31.0.24",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -1,39 +1,39 @@
1
1
  .planned-bg {
2
- background: #f09653;
2
+ background: rgb(188, 88, 16);
3
3
  }
4
4
  .pending-bg {
5
- background: #f1643e;
5
+ background: rgb(216, 58, 14);
6
6
  }
7
7
  .recording-bg {
8
- background: #f34a4a;
8
+ background: rgb(233, 12, 12);
9
9
  }
10
10
  .error-bg {
11
- background: #ff0000;
11
+ background: rgb(173, 0, 0);
12
12
  }
13
13
  .debriefing-bg {
14
- background: #6ec66e;
14
+ background: rgb(54, 134, 54);
15
15
  }
16
16
  .done-bg {
17
- background: #679fe9;
17
+ background: rgb(42, 117, 218);
18
18
  }
19
19
  .publishing-bg {
20
- background: #7d7d7d;
20
+ background: rgb(112, 112, 112);
21
21
  }
22
22
  .planned-shadow {
23
- box-shadow: 0px 12px 48px 6px rgba(240, 151, 83, 0.2);
23
+ box-shadow: 0px 12px 48px 6px rgba(188, 88, 16, 0.2);
24
24
  }
25
25
  .pending-shadow {
26
- box-shadow: 0px 12px 48px 6px rgba(241, 101, 62, 0.2);
26
+ box-shadow: 0px 12px 48px 6px rgba(216, 58, 14, 0.2);
27
27
  }
28
28
  .recording-shadow {
29
- box-shadow: 0px 12px 48px 6px rgba(243, 74, 74, 0.2);
29
+ box-shadow: 0px 12px 48px 6px rgba(233, 12, 12, 0.2);
30
30
  }
31
31
  .debriefing-shadow {
32
- box-shadow: 0px 12px 48px 6px rgba(110, 198, 110, 0.2);
32
+ box-shadow: 0px 12px 48px 6px rgba(54, 134, 54, 0.2);
33
33
  }
34
34
  .publishing-shadow {
35
- box-shadow: 0px 12px 48px 6px rgba(125, 125, 125, 0.2);
35
+ box-shadow: 0px 12px 48px 6px rgba(112, 112, 112, 0.2);
36
36
  }
37
37
  .error-shadow {
38
- box-shadow: 0px 12px 48px 6px rgba(255, 0, 0, 0.2);
38
+ box-shadow: 0px 12px 48px 6px rgba(173, 0, 0, 0.2);
39
39
  }
@@ -315,7 +315,7 @@
315
315
  }
316
316
 
317
317
  .multiselect__placeholder {
318
- color: #adadad;
318
+ color: #757575;
319
319
  display: inline-block;
320
320
  margin-bottom: 10px;
321
321
  padding-top: 2px;
@@ -15,6 +15,7 @@
15
15
  :disabled="isDisabled"
16
16
  label="name"
17
17
  track-by="id"
18
+ :aria-expanded="false"
18
19
  :placeholder="$t('Type string to filter by categories')"
19
20
  :options="categories"
20
21
  :multiple="multiple"
@@ -7,6 +7,7 @@
7
7
  >{{ $t('Live') }}</b>
8
8
  <b
9
9
  :id="'popover-comment' + comment.comId"
10
+ role="button"
10
11
  tabindex="-1"
11
12
  :class="editRight || isValid? '':'text-danger'"
12
13
  class="me-2"
@@ -14,6 +14,7 @@
14
14
  v-model="emission"
15
15
  label="name"
16
16
  track-by="emissionId"
17
+ :aria-expanded="false"
17
18
  :placeholder="$t('Type string to filter by emission')"
18
19
  :options="emissions"
19
20
  :multiple="false"
@@ -14,6 +14,7 @@
14
14
  <img
15
15
  v-lazy="emission.imageUrl"
16
16
  class="img-box"
17
+ :title="$t('Emission name image', {name:emission.name})"
17
18
  >
18
19
  <div class="emission-item-text">
19
20
  <div
@@ -21,6 +21,7 @@
21
21
  >
22
22
  <img
23
23
  v-lazy="emission.imageUrl"
24
+ :title="$t('Emission name image', {name:emission.name})"
24
25
  class="img-box rounded-0"
25
26
  >
26
27
  <div
@@ -13,6 +13,8 @@
13
13
  v-if="!!organisationId"
14
14
  v-model:textInit="keepOrganisation"
15
15
  class="m-3"
16
+ :label="$t('check this box if you want to keep this filter for the rest of your visit')"
17
+ :display-label="false"
16
18
  id-checkbox="organisation-checkbox"
17
19
  @clickAction="onKeepOrganisation"
18
20
  />
@@ -15,6 +15,7 @@
15
15
  v-model="organisation"
16
16
  label="name"
17
17
  track-by="id"
18
+ :aria-expanded="false"
18
19
  :placeholder="$t('Type string to filter by organisation')"
19
20
  :options="organisations"
20
21
  :multiple="false"
@@ -14,6 +14,7 @@
14
14
  >
15
15
  <img
16
16
  v-lazy="participant.imageUrl"
17
+ :title="$t('Animator image')"
17
18
  class="img-box-circle"
18
19
  >
19
20
  <div class="participant-name">
@@ -14,6 +14,7 @@
14
14
  >
15
15
  <img
16
16
  v-lazy="playlist.imageUrl"
17
+ :title="$t('Playlist name image', {name:name})"
17
18
  class="img-box"
18
19
  >
19
20
  </router-link>
@@ -6,6 +6,7 @@
6
6
  {{ title }}
7
7
  <span
8
8
  :id="idPopover"
9
+ role="button"
9
10
  tabindex="-1"
10
11
  class="saooti-help m-0"
11
12
  :title="title"
@@ -6,6 +6,7 @@
6
6
  <img
7
7
  v-lazy="podcast.imageUrl"
8
8
  class="img-box"
9
+ :alt="$t('Episode name image', {name:podcast.title})"
9
10
  >
10
11
  <template v-if="isPodcastmaker">
11
12
  <div
@@ -13,10 +13,12 @@
13
13
  >
14
14
  <div
15
15
  :id="'tag-list-from-podcast-page'+index"
16
+ role="button"
16
17
  >
17
18
  <img
18
19
  v-if="isOuestFranceTag(tag)"
19
20
  class="ouest-france-logo"
21
+ alt="Logo Ouest France"
20
22
  src="/img/ouest_france_logo.svg"
21
23
  >
22
24
  {{ formateOfTag(tag) }}
@@ -16,6 +16,7 @@
16
16
  class="rubriqueChooser"
17
17
  label="name"
18
18
  track-by="rubriqueId"
19
+ :aria-expanded="false"
19
20
  :placeholder="$t('Type string to filter by rubrics')"
20
21
  :options="rubriques"
21
22
  :multiple="multiple"
@@ -13,6 +13,7 @@
13
13
  <span
14
14
  v-if="authenticated"
15
15
  id="popover-share-help"
16
+ role="button"
16
17
  tabindex="-1"
17
18
  class="saooti-help ms-2"
18
19
  :title="$t('Help')"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <div class="module-box text-center-mobile">
3
+ <div class="module-box text-center-mobile overflow-visible">
4
4
  <h3>{{ $t('Embed') }}</h3>
5
5
  <template v-if="!exclusive && (authenticated || notExclusive)">
6
6
  <div class="d-flex flex-column align-items-center">
@@ -9,10 +9,13 @@
9
9
  type="checkbox"
10
10
  class="form-check-input"
11
11
  :disabled="isDisabled"
12
+ :title="displayLabel?'':label"
13
+ :data-selenium="selenium"
12
14
  @click="emitClickAction"
13
15
  >
14
16
  <label
15
17
  class="form-check-label"
18
+ :class="displayLabel? '': 'd-none'"
16
19
  :for="idCheckbox"
17
20
  >{{ label }}</label>
18
21
  </div>
@@ -28,7 +31,9 @@ export default defineComponent({
28
31
  label: { default: '', type: String },
29
32
  isDisabled: { default: false, type: Boolean },
30
33
  textInit: { default: false, type: Boolean },
31
- isSwitch:{default:false, type:Boolean}
34
+ isSwitch:{default:false, type:Boolean},
35
+ displayLabel: {default:true, type: Boolean},
36
+ selenium: { default: '', type: String },
32
37
  },
33
38
  emits: ['update:textInit', 'clickAction'],
34
39
 
@@ -4,9 +4,9 @@
4
4
  class="d-flex justify-content-center"
5
5
  >
6
6
  <div class="spinner-border me-3" />
7
- <h3 class="mt-2">
7
+ <div class="h3 mt-2">
8
8
  {{ loadingText }}
9
- </h3>
9
+ </div>
10
10
  </div>
11
11
  <div
12
12
  v-else-if="errorText"
@@ -1,9 +1,13 @@
1
1
  <template>
2
- <div class="d-flex flex-column">
2
+ <div
3
+ class="d-flex"
4
+ :class="isColumn? 'flex-column':''"
5
+ >
3
6
  <div
4
7
  v-for="option in options"
5
8
  :key="option.title"
6
9
  class="form-check"
10
+ :class="isColumn? '':'me-2'"
7
11
  >
8
12
  <input
9
13
  :id="idRadio + option.value"
@@ -34,6 +38,7 @@ export default defineComponent({
34
38
  isDisabled: { default: false, type: Boolean },
35
39
  options: { default: ()=>[], type: Array as () => Array<{title: string, value: string|undefined}> },
36
40
  textInit: { default: undefined, type: String },
41
+ isColumn: {default:true, type:Boolean}
37
42
  },
38
43
  emits: ['update:textInit'],
39
44
 
@@ -8,6 +8,7 @@
8
8
  >
9
9
  <img
10
10
  src="/img/caution.png"
11
+ alt="Caution"
11
12
  class="icon-caution"
12
13
  >
13
14
  <div class="alert-text">
@@ -16,6 +16,7 @@
16
16
  >
17
17
  <img
18
18
  v-lazy="participant.imageUrl"
19
+ :title="$t('Animator image')"
19
20
  class="img-box-circle mb-3"
20
21
  >
21
22
  <h2 class="text-capitalize">
@@ -6,6 +6,8 @@ $font-family-sans-serif: 'Roboto', sans-serif;
6
6
  $font-size-base: 0.9rem;
7
7
  $line-height-base: 1.6;
8
8
  $primary: #32815C;
9
+ $secondary: #636C73;
10
+ $danger: #E22C27;
9
11
 
10
12
  // Colors
11
13
  $blue: #3490dc;