Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/Components/IFrame/IFrame.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
@inherits BootstrapModuleComponentBase
@attribute [BootstrapModuleAutoLoader(JSObjectReference = true)]

<iframe id="@Id" src="@Src" frameborder="0" class="@ClassString"></iframe>
<iframe @attributes="AdditionalAttributes" id="@Id" src="@Src" class="@ClassString"></iframe>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Add a default title attribute for accessibility

Introduce a Title parameter or set a default title to ensure the iframe is accessible when no title is provided via AdditionalAttributes.