gatsby-core-theme 30.0.108 → 30.0.110

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/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## [30.0.110](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v30.0.109...v30.0.110) (2024-04-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * added uploadate and description in iframe schema ([7d78d68](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/7d78d687cadc471c025eb8fd0d85c8e76c9ce26c))
7
+ * iframe schema ([947b9cf](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/947b9cf30ddaea004966c9a8003c403bdf8020ea))
8
+
9
+ ## [30.0.109](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v30.0.108...v30.0.109) (2024-04-09)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * added aria labels to breadcrumbs ([23810a2](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/23810a248ed3ebd08f00fd954c2a83eab67e7dbe))
15
+
16
+
17
+ * Merge branch 'tm-4220-aria-breadcrumbs' into 'master' ([eb7d3d4](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/eb7d3d4e6f369cd0e457a3b0d40d76bb97835fcc))
18
+
1
19
  ## [30.0.108](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v30.0.107...v30.0.108) (2024-04-08)
2
20
 
3
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "30.0.108",
3
+ "version": "30.0.110",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -8,7 +8,7 @@ import keygen from '~helpers/keygen';
8
8
  import { getHomeBreadcrumbs } from '~helpers/getters';
9
9
  import { Context } from '~context/MainProvider';
10
10
 
11
- function Breadcrumbs({ page, separator = <span> / </span>, markets }) {
11
+ function Breadcrumbs({ page, separator = <span aria-hidden="true"> / </span>, markets }) {
12
12
  const { translations } = useContext(Context) || {};
13
13
  const activeMarket = markets && markets[page.market];
14
14
 
@@ -23,7 +23,7 @@ function Breadcrumbs({ page, separator = <span> / </span>, markets }) {
23
23
  const home = getHomeBreadcrumbs(page, translations);
24
24
 
25
25
  return (
26
- <ol className={styles.breadcrumbs || ''}>
26
+ <ol className={styles.breadcrumbs || ''} aria-label="Breadcrumb">
27
27
  <li className={styles.item || ''}>
28
28
  {isPPC ? (
29
29
  home
@@ -52,7 +52,9 @@ function Breadcrumbs({ page, separator = <span> / </span>, markets }) {
52
52
  {separator}
53
53
  </li>
54
54
  ))}
55
- <li className={styles.item || ''}>{page.vanity_label ? page.vanity_label : page.title}</li>
55
+ <li aria-current="page" className={styles.item || ''}>
56
+ {page.vanity_label ? page.vanity_label : page.title}
57
+ </li>
56
58
  </ol>
57
59
  );
58
60
  }
@@ -344,6 +344,7 @@ export function moduleSchemas(modules, path, page, pageImage) {
344
344
  };
345
345
  return JSON.stringify(generateSchemaObject(moduleSchema));
346
346
  }
347
+ break;
347
348
  }
348
349
  default: {
349
350
  return null;