Skip to content

Add resources on video for Building Accessible, On-Brand Documents with Quarto#265

Open
cwickham wants to merge 1 commit into
mainfrom
add-quarto-a11y-repo-links
Open

Add resources on video for Building Accessible, On-Brand Documents with Quarto#265
cwickham wants to merge 1 commit into
mainfrom
add-quarto-a11y-repo-links

Conversation

@cwickham
Copy link
Copy Markdown
Collaborator

Summary

  • Adds a ## Resources section to the Building Accessible, On-Brand Documents with Quarto video page with Slides + Demo repo buttons.
  • Fixes a layout bug where .Content was dropped on video resource pages whenever a transcript was present — body content now renders above the transcript.
  • Safelists icon-[tabler--presentation] so the new Slides icon survives the Tailwind build.

Test plan

  • /resources/videos/2026-05-13_building-accessible-on-brand-documents-with-quarto/ shows two buttons (Slides, Demo repo) with correct icons above the transcript.
  • Existing video pages (no body content) are unchanged.
  • Non-video resource pages are unchanged.

…o talk

- New `## Resources` body in `2026-05-13_building-accessible-on-brand-documents-with-quarto`
  with Slides and Demo repo buttons.
- Render `.Content` above the transcript on video resource pages; previously
  the layout dropped body content whenever a `transcription.txt` was present.
- Safelist the `tabler--presentation` icon class so it survives the Tailwind
  build (icon names passed as shortcode params aren't visible to the scanner).
@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for posit-open-source canceled.

Name Link
🔨 Latest commit 4dedbf2
🔍 Latest deploy log https://app.netlify.com/projects/posit-open-source/deploys/6a0de79152d205000704a336

@cwickham cwickham changed the title Surface custom resources on video pages (Quarto a11y talk) Add resources on video for Building Accessible, On-Brand Documents with Quarto May 20, 2026
@cwickham
Copy link
Copy Markdown
Collaborator Author

@jeroenjanssens I'm not sure this is the right way to handle this...what do you think about allowing content on these video pages to add things before the transcription (links to slides and repo, in this example)?

@cwickham cwickham marked this pull request as ready for review May 20, 2026 17:00
@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant