Skip to content

Commit

Permalink
fix(a11y): make related videos section semantically correct
Browse files Browse the repository at this point in the history
Co-authored-by: Mike van Veenhuijzen <[email protected]>
  • Loading branch information
langemike and langemike authored May 30, 2024
1 parent 448c196 commit 57e2641
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ const VideoLayout: React.FC<Props> = ({
primaryMetadata={primaryMetadata}
secondaryMetadata={secondaryMetadata}
>
{playlist && <div className={styles.relatedVideos}>{renderRelatedVideos(true)}</div>}
{playlist && <section className={styles.relatedVideos}>{renderRelatedVideos(true)}</section>}
{children}
{player}
</VideoDetails>
Expand Down

0 comments on commit 57e2641

Please sign in to comment.