diff --git a/README.md b/README.md
index de8df5c7..9a104206 100644
--- a/README.md
+++ b/README.md
@@ -666,6 +666,8 @@ Parameters:
Optional. Boolean. Automatically play the video.
controls
Optional. Boolean. Show video controls. Default is true
.
+ description
+ Optional. String. Plain text. Screen reader content. Default is YouTube video
.
end
Optional. Integer. Elapsed seconds. Stop the video here.
fullscreen
@@ -678,8 +680,6 @@ Parameters:
Optional. Boolean. Mute the video.
start
Optional. Integer. Elapsed seconds. Start the video here.
- title
- Optional. String. Video description. Used for screen readers. Default is YouTube video
.
video
Optional. Position 0. String. Video ID.
diff --git a/layouts/shortcodes/paige/youtube.html b/layouts/shortcodes/paige/youtube.html
index dfb7680b..b6e45512 100644
--- a/layouts/shortcodes/paige/youtube.html
+++ b/layouts/shortcodes/paige/youtube.html
@@ -1,12 +1,12 @@
{{ $autoplay := .Get "autoplay" }}
{{ $controls := .Get "controls" | default true }}
+{{ $description := .Get "description" | default "YouTube video" }}
{{ $end := .Get "end" }}
{{ $fullscreen := .Get "fullscreen" | default true }}
{{ $list := .Get "list" }}
{{ $loop := .Get "loop" }}
{{ $mute := .Get "mute" }}
{{ $start := .Get "start" }}
-{{ $title := .Get "title" | default "YouTube video" }}
{{ $video := .Get 0 | default (.Get "video") | default "dQw4w9WgXcQ" }}
{{ $host := cond .Page.Site.Config.Privacy.YouTube.PrivacyEnhanced "www.youtube-nocookie.com" "www.youtube.com" }}
@@ -58,5 +58,5 @@
{{ end }}
-
+