From 943dd9704e0157a35007cb6be4148c1579e9fda0 Mon Sep 17 00:00:00 2001 From: Giulio Gratta Date: Mon, 11 Nov 2013 11:26:24 -0800 Subject: [PATCH] Three more A11Y fixes (medium priority ones). - Make email field in forgot password modal aria-required = true - Added Transcript skip links to both before and after the transcript - Add language code to main.html so that screenreaders know what language/region to speak for --- lms/templates/forgot_password_modal.html | 2 +- lms/templates/main.html | 8 ++--- lms/templates/video.html | 38 +++++++++++++----------- 3 files changed, 26 insertions(+), 22 deletions(-) diff --git a/lms/templates/forgot_password_modal.html b/lms/templates/forgot_password_modal.html index 72ba0f2faa..71d7d7658b 100644 --- a/lms/templates/forgot_password_modal.html +++ b/lms/templates/forgot_password_modal.html @@ -21,7 +21,7 @@
  1. - + ${_("This is the e-mail address you used to register with {platform}").format(platform=settings.PLATFORM_NAME)}
diff --git a/lms/templates/main.html b/lms/templates/main.html index c0186f04f4..2d1c98db27 100644 --- a/lms/templates/main.html +++ b/lms/templates/main.html @@ -16,10 +16,10 @@ - - - - + + + + <%block name="title"> % if stanford_theme_enabled(): diff --git a/lms/templates/video.html b/lms/templates/video.html index b4bae8a91e..9d54f68ea8 100644 --- a/lms/templates/video.html +++ b/lms/templates/video.html @@ -44,7 +44,7 @@
- Skip to clickable transcript video links. + ${_("Skip to a navigable version of this video's transcript.")}
@@ -85,25 +85,29 @@
+ ${_('Skip to end of transcript.')} - -
+ +
    +
  1. +
- + + ${_('Go back to start of transcript.')} +
- +