@@ -543,12 +543,12 @@ <h3>Add the site map file</h3>
543543 </ div >
544544 </ article >
545545
546- < details class ="code-example ">
547- < summary class ="code-example-summary ">
546+ < article class ="code-example " data-expandable-code >
547+ < button class ="code-example-summary " type =" button " aria-expanded =" false ">
548548 < span class ="code-example-label "> File</ span >
549549 < code > .github/preview-sites.json</ code >
550550 < span class ="code-example-hint "> Click to expand</ span >
551- </ summary >
551+ </ button >
552552 < div class ="code-block ">
553553 < button class ="copy-button " type ="button " data-copy-target ="github-preview-sites ">
554554 Copy
@@ -574,7 +574,7 @@ <h3>Add the site map file</h3>
574574 ]
575575}</ code > </ pre >
576576 </ div >
577- </ details >
577+ </ article >
578578
579579 < article class ="timeline-step ">
580580 < div class ="timeline-index "> 2</ div >
@@ -588,12 +588,12 @@ <h3>Add the preview workflow</h3>
588588 </ div >
589589 </ article >
590590
591- < details class ="code-example ">
592- < summary class ="code-example-summary ">
591+ < article class ="code-example " data-expandable-code >
592+ < button class ="code-example-summary " type =" button " aria-expanded =" false ">
593593 < span class ="code-example-label "> File</ span >
594594 < code > .github/workflows/preview.yml</ code >
595595 < span class ="code-example-hint "> Click to expand</ span >
596- </ summary >
596+ </ button >
597597 < div class ="code-block ">
598598 < button class ="copy-button " type ="button " data-copy-target ="github-preview-workflow ">
599599 Copy
@@ -686,7 +686,7 @@ <h3>Add the preview workflow</h3>
686686 preview-base-domain: ${{ secrets.PREVIEW_BASE_DOMAIN }}
687687 metadata-dir: preview-metadata</ code > </ pre >
688688 </ div >
689- </ details >
689+ </ article >
690690
691691 < article class ="timeline-step ">
692692 < div class ="timeline-index "> 3</ div >
@@ -700,12 +700,12 @@ <h3>Feed the preview URL into e2e</h3>
700700 </ div >
701701 </ article >
702702
703- < details class ="code-example ">
704- < summary class ="code-example-summary ">
703+ < article class ="code-example " data-expandable-code >
704+ < button class ="code-example-summary " type =" button " aria-expanded =" false ">
705705 < span class ="code-example-label "> Append to</ span >
706706 < code > .github/workflows/preview.yml</ code >
707707 < span class ="code-example-hint "> Click to expand</ span >
708- </ summary >
708+ </ button >
709709 < div class ="code-block ">
710710 < button class ="copy-button " type ="button " data-copy-target ="github-preview-e2e ">
711711 Copy
@@ -733,7 +733,7 @@ <h3>Feed the preview URL into e2e</h3>
733733 PLAYWRIGHT_BASE_URL: ${{ steps.preview.outputs.link }}
734734 run: yarn playwright test</ code > </ pre >
735735 </ div >
736- </ details >
736+ </ article >
737737
738738 < article class ="timeline-step ">
739739 < div class ="timeline-index "> 4</ div >
@@ -748,12 +748,12 @@ <h3>Use plain CLI + rsync instead of actions</h3>
748748 </ div >
749749 </ article >
750750
751- < details class ="code-example ">
752- < summary class ="code-example-summary ">
751+ < article class ="code-example " data-expandable-code >
752+ < button class ="code-example-summary " type =" button " aria-expanded =" false ">
753753 < span class ="code-example-label "> Shell snippet</ span >
754754 < code > rsync preview upload</ code >
755755 < span class ="code-example-hint "> Click to expand</ span >
756- </ summary >
756+ </ button >
757757 < div class ="code-block ">
758758 < button class ="copy-button " type ="button " data-copy-target ="github-preview-rsync ">
759759 Copy
@@ -774,7 +774,7 @@ <h3>Use plain CLI + rsync instead of actions</h3>
774774
775775echo "Preview URL: https://${DEPLOY_NAME}.${SITE}.${PREVIEW_BASE_DOMAIN}"</ code > </ pre >
776776 </ div >
777- </ details >
777+ </ article >
778778 </ div >
779779 </ section >
780780 </ main >
0 commit comments