From ea78c234f95282890f1c5f9cabe61026868f8593 Mon Sep 17 00:00:00 2001 From: nfreear Date: Tue, 14 Mar 2006 12:55:06 +0000 Subject: [PATCH] Accessibility: fixed ambiguous asterisk next to 'edit profile', with title and hidden text (OU-Bugz: 733). --- blocks/admin/block_admin.php | 8 ++++++-- theme/standard/styles_fonts.css | 5 +++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index 14951d8c2c..9eccdda57c 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -113,7 +113,9 @@ class block_admin extends block_list { $fullname = fullname($USER, true); $editmyprofile = ''.get_string('editmyprofile').''; if (empty($USER->description)) { - $this->content->items[]= $editmyprofile." *"; + //Accessibility: replace non-standard with CSS ( makes title visible in IE). + $text = get_string('profile').' '.get_string('missingdescription'); + $this->content->items[]= $editmyprofile.' *'.$text.''; } else { $this->content->items[]= $editmyprofile; } @@ -208,7 +210,9 @@ class block_admin extends block_list { $editmyprofile = ''.get_string('editmyprofile').''; if (empty($USER->description)) { - $this->content->items[]= $editmyprofile." *"; + //Accessibility: replace non-standard with CSS ( makes title visible in IE). + $text = get_string('profile').' '.get_string('missingdescription'); + $this->content->items[]= $editmyprofile.' *'.$text.''; } else { $this->content->items[]= $editmyprofile; } diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index d7e45aaf9b..3e2131e2c2 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -141,6 +141,11 @@ img.resize { acronym, abbr { cursor: help; } +a.useredit, a:hover.useredit, .blink { + color: black; + text-decoration: blink; + cursor: help; +} /*** *** Header -- 2.39.5