Skip to content

Commit

Permalink
feat: add accessible name at iframe tag
Browse files Browse the repository at this point in the history
  • Loading branch information
danpacho committed Dec 26, 2024
1 parent 8bb4b41 commit 995ccfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/blogger/src/routes/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ export const Route = createFileRoute('/preview')({

function PreviewComponent() {
return (
// Open localhost:4322 in your browser to see this component
<div>
<iframe
// Iframe accessible name
title="Preview"
src="http://localhost:4321"
className="size-full min-h-screen"
/>
Expand Down

0 comments on commit 995ccfc

Please sign in to comment.