From 0752375e468b6a41195d41bb35a9cf2f09dd5b2f Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Tue, 22 Oct 2013 14:21:35 -0400 Subject: [PATCH] Indicate active status more clearly for people with vision impairments * bold text when active * add in some extra text for screen readers LMS-1306 --- lms/static/sass/course/wiki/_wiki.scss | 1 + lms/templates/wiki/includes/article_menu.html | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/lms/static/sass/course/wiki/_wiki.scss b/lms/static/sass/course/wiki/_wiki.scss index 467a6a2c3e..022d08b81f 100644 --- a/lms/static/sass/course/wiki/_wiki.scss +++ b/lms/static/sass/course/wiki/_wiki.scss @@ -277,6 +277,7 @@ section.wiki { &.active { a { color: $link-color; + font-weight: bold; .icon-view, .icon-home { diff --git a/lms/templates/wiki/includes/article_menu.html b/lms/templates/wiki/includes/article_menu.html index 9deb344e88..d2ca563793 100644 --- a/lms/templates/wiki/includes/article_menu.html +++ b/lms/templates/wiki/includes/article_menu.html @@ -9,6 +9,7 @@ View + ${"(active)" if selected_tab == "view" else ""} @@ -17,6 +18,7 @@ Edit + ${"(active)" if selected_tab == "edit" else ""} %endif @@ -25,6 +27,7 @@ Changes + ${"(active)" if selected_tab == "history" else ""} @@ -34,6 +37,7 @@ ${plugin.article_tab[0]} + ${"(active)" if selected_tab == plugin.slug else ""} %endif @@ -49,6 +53,7 @@ ${_("This should be enabled for all non-anonymous users once the notifications a ${_("Settings")} + ${"(active)" if selected_tab == "settings" else ""} %endif