@primer/doctocat-nextjs 0.0.0-20251105191637 → 0.0.0-20251112204505

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,6 +1,6 @@
1
1
  # @primer/doctocat-nextjs
2
2
 
3
- ## 0.0.0-20251105191637
3
+ ## 0.0.0-20251112204505
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -49,12 +49,12 @@ export function Sidebar({pageMap}: SidebarProps) {
49
49
  return (
50
50
  <div className={styles.Sidebar}>
51
51
  {activeHeaderLink && (
52
- <Text size="400" weight="semibold" className={styles.Sidebar__title}>
52
+ <Heading as="h2" className={styles.Sidebar__title} id={`nav-list-heading`}>
53
53
  {activeHeaderLink.title}
54
- </Text>
54
+ <span className="visually-hidden"> navigation</span>
55
+ </Heading>
55
56
  )}
56
-
57
- <NavList className={styles.NavList} aria-label="Menu links">
57
+ <NavList className={styles.NavList} aria-labelledby={`nav-list-heading`}>
58
58
  {reorderedPageMap.map(item => {
59
59
  if (item.hasOwnProperty('data')) return null
60
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.0.0-20251105191637",
3
+ "version": "0.0.0-20251112204505",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",