Files
jarv.is/components/third-party/youtube.tsx
T
jakeandClaude Opus 4.5 013311a618 fix: improve accessibility across components
- Add aria-hidden to decorative SVG icons
- Add title attributes to iframe embeds (CodePen, Gist, YouTube)
- Add aria-labels to comment form textareas
- Use proper button element for Markdown help popover trigger
- Use proper ellipsis character in placeholders

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 21:38:39 -05:00

12 lines
360 B
TypeScript

"use client";
import YouTubeEmbed from "react-lite-youtube-embed";
// lite-youtube-embed CSS is imported in app/global.css to save a request
const YouTube = ({ title = "YouTube video", ...rest }: React.ComponentProps<typeof YouTubeEmbed>) => {
return <YouTubeEmbed cookie={false} containerElement="div" title={title} {...rest} />;
};
export { YouTube };