@capytale/meta-player 0.5.3 → 0.5.4

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": "@capytale/meta-player",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -215,6 +215,8 @@ const HorizontalDocumentSelector = () => {
215
215
  {items.map((item) => (
216
216
  <div
217
217
  className={styles.pedagoHorizontalTab}
218
+ role="button"
219
+ aria-label={`Basculer vers l'onglet ${item.name}`}
218
220
  onClick={() => dispatch(setPedagoTab(item.value))}
219
221
  data-selected={item.value === pedagoTab}
220
222
  key={item.value}
@@ -57,6 +57,13 @@ const Pedago: React.FC<DivProps> = ({ className, ...props }) => {
57
57
  <PedagoCommands />
58
58
  <div
59
59
  className={styles.pedagoContent}
60
+ aria-label={
61
+ pedagoTab === "instructions"
62
+ ? "Consignes"
63
+ : pedagoTab === "pdf"
64
+ ? "PDF"
65
+ : "Notes partagées"
66
+ }
60
67
  data-grading-visible={isGradingVisible}
61
68
  >
62
69
  {!isGradingVisible && (
@@ -90,6 +97,13 @@ const Pedago: React.FC<DivProps> = ({ className, ...props }) => {
90
97
  >
91
98
  <Panel
92
99
  className={styles.fullSizePanel}
100
+ aria-label={
101
+ pedagoTab === "instructions"
102
+ ? "Consignes"
103
+ : pedagoTab === "pdf"
104
+ ? "PDF"
105
+ : "Notes partagées"
106
+ }
93
107
  header={
94
108
  pedagoTab === "instructions"
95
109
  ? "Consignes"