From b7aead39e2f4da36e6f44e934513d85fd8361d16 Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 13 Sep 2013 11:08:27 -0400 Subject: [PATCH] updated new post forum dropdown menu for use with chromevox --- CHANGELOG.rst | 4 ++- lms/static/sass/_discussion.scss | 6 +++- .../discussion/_filter_dropdown.html | 3 +- .../discussion/_inline_new_post.html | 8 +++-- lms/templates/discussion/_new_post.html | 29 ++++++++++--------- .../discussion/_thread_list_template.html | 3 +- .../discussion/_underscore_templates.html | 16 ++++++---- 7 files changed, 42 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8290e1104b..65ed2519be 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,7 +5,9 @@ These are notable changes in edx-platform. This is a rolling list of changes, in roughly chronological order, most recent first. Add your entries at or near the top. Include a label indicating the component affected. -LMS: Improved accessibility of parts of forum navigation sidebar +LMS: Improved accessibility of parts of forum navigation sidebar. + +LMS: enhanced accessibility labeling and aria support for the discussion forum new post dropdown as well as response and comment area labeling. LMS: enhanced shib support, including detection of linked shib account at login page and support for the ?next= GET parameter. diff --git a/lms/static/sass/_discussion.scss b/lms/static/sass/_discussion.scss index 3e3642298b..a685404d34 100644 --- a/lms/static/sass/_discussion.scss +++ b/lms/static/sass/_discussion.scss @@ -151,7 +151,7 @@ body.discussion { padding: $baseline*2; @include box-sizing(border-box); - label { + .topic-dropdown-label { font-size: 22px; font-weight: 700; color: $white; @@ -221,6 +221,10 @@ body.discussion { &.focused { background-color: #666; } + + .topic-menu-span { + color: #eee; + } } li li { diff --git a/lms/templates/discussion/_filter_dropdown.html b/lms/templates/discussion/_filter_dropdown.html index c09f295b11..c70fcb47cf 100644 --- a/lms/templates/discussion/_filter_dropdown.html +++ b/lms/templates/discussion/_filter_dropdown.html @@ -26,7 +26,8 @@
- + +
@@ -43,9 +44,10 @@
## TODO commenting out tags til we figure out what to do with them ##
- ## + ## + ## ##
- + ${_("Cancel")}
diff --git a/lms/templates/discussion/_new_post.html b/lms/templates/discussion/_new_post.html index 4c11862e20..dfc942730b 100644 --- a/lms/templates/discussion/_new_post.html +++ b/lms/templates/discussion/_new_post.html @@ -10,31 +10,30 @@ <%def name="render_entry(entries, entry)"> -
  • ${entry}
  • +
  • ${entry}
  • <%def name="render_category(categories, category)"> -
  • - ${category} -