From 8a9a79720b80375d3f8fe5e697daed5cab7e1b8d Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 30 Jan 2020 15:55:45 -0500 Subject: [PATCH] add aria-label and alt messages --- ui/component/channelThumbnail/view.jsx | 16 ++++++++++++++-- ui/component/header/view.jsx | 15 ++++++++++----- ui/scss/component/_header.scss | 6 ++++++ ui/scss/component/menu-button.scss | 6 ------ 4 files changed, 30 insertions(+), 13 deletions(-) diff --git a/ui/component/channelThumbnail/view.jsx b/ui/component/channelThumbnail/view.jsx index b153d35f7..659a5bb0c 100644 --- a/ui/component/channelThumbnail/view.jsx +++ b/ui/component/channelThumbnail/view.jsx @@ -35,8 +35,20 @@ function ChannelThumbnail(props: Props) { 'channel-thumbnail--small': small, })} > - {!showThumb && } - {showThumb && } + {!showThumb && ( + {__('Channel + )} + {showThumb && ( + {__('Channel + )} ); } diff --git a/ui/component/header/view.jsx b/ui/component/header/view.jsx index 18fee57f8..343167754 100644 --- a/ui/component/header/view.jsx +++ b/ui/component/header/view.jsx @@ -132,13 +132,16 @@ const Header = (props: Props) => { {(!IS_WEB || authenticated) && (