diff --git a/docs/src/components/CustomLogo.astro b/docs/src/components/CustomLogo.astro index ec255eb3a9a..04264297e1b 100644 --- a/docs/src/components/CustomLogo.astro +++ b/docs/src/components/CustomLogo.astro @@ -11,7 +11,7 @@ const initialLogoUrl = darkLogoUrl; --- - + GitHub Agentic Workflows diff --git a/docs/src/components/Video.astro b/docs/src/components/Video.astro index ff32a6419ac..e0e307220bd 100644 --- a/docs/src/components/Video.astro +++ b/docs/src/components/Video.astro @@ -66,6 +66,7 @@ const accessibilityLabel = title || caption || fallbackLabel const fallbackLinkLabel = accessibilityLabel ? `Download ${accessibilityLabel}` : 'Download this video' +const loadingStrategy = autoStart ? 'eager' : 'lazy' ---
@@ -79,6 +80,7 @@ const fallbackLinkLabel = accessibilityLabel muted={silenced} poster={posterPath} preload="metadata" + loading={loadingStrategy} title={title} aria-label={accessibilityLabel} > diff --git a/docs/src/styles/custom.css b/docs/src/styles/custom.css index a634133eee5..a73d8605e79 100644 --- a/docs/src/styles/custom.css +++ b/docs/src/styles/custom.css @@ -1779,3 +1779,30 @@ main, transition: none; } } + +@media (prefers-contrast: more) { + :focus-visible { + outline-width: 3px; + } + + .site-title span, + .header-link { + text-decoration: underline; + } +} + +@media (forced-colors: active) { + .site-title, + .header-link, + .gh-aw-video-container, + .gh-aw-video-caption { + border: 1px solid CanvasText; + background: Canvas; + color: CanvasText; + } + + .header-link:hover, + .site-title:hover { + forced-color-adjust: auto; + } +}