summaryrefslogtreecommitdiffstats
path: root/ash/system/audio
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-23 17:25:54 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-23 17:25:54 +0000
commit856603a213cabe2c7b8e66e314dc041584a38e1a (patch)
treef8b636050eeb28bd34ca33cc65a5cf7d72441042 /ash/system/audio
parentc8a61d09266f97873a2ece1657ebd655edfb599f (diff)
downloadchromium_src-856603a213cabe2c7b8e66e314dc041584a38e1a.zip
chromium_src-856603a213cabe2c7b8e66e314dc041584a38e1a.tar.gz
chromium_src-856603a213cabe2c7b8e66e314dc041584a38e1a.tar.bz2
Initial system tray accessibility fixes
This makes most system tray items keyboard-focusable and gives many of them an accessible role and name. Some work still remains - please use this as a guide when finishing support for remaining items! BUG=119608 TEST=manual testing: open tray, tab through items, open with space/enter, close with esc Review URL: http://codereview.chromium.org/9838030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/audio')
-rw-r--r--ash/system/audio/tray_volume.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/system/audio/tray_volume.cc b/ash/system/audio/tray_volume.cc
index 4fdc77e..e58806b 100644
--- a/ash/system/audio/tray_volume.cc
+++ b/ash/system/audio/tray_volume.cc
@@ -115,6 +115,7 @@ class VolumeView : public views::View,
ash::Shell::GetInstance()->tray_delegate();
slider_ = new views::Slider(this, views::Slider::HORIZONTAL);
slider_->SetValue(delegate->GetVolumeLevel());
+ slider_->set_focusable(true);
AddChildView(slider_);
}