diff --git a/static/app-strings.json b/static/app-strings.json index ec9a7c743..d56d79474 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -2040,5 +2040,8 @@ "Tip Creators": "Tip Creators", "Only select creators can receive tips at this time": "Only select creators can receive tips at this time", "The payment will be made from your saved card": "The payment will be made from your saved card", + "Trending for #Art": "Trending for #Art", + "Trending for #Education": "Trending for #Education", + "Trending for #Technology": "Trending for #Technology", "--end--": "--end--" } diff --git a/ui/component/button/view.jsx b/ui/component/button/view.jsx index 46d467d05..dc0a18030 100644 --- a/ui/component/button/view.jsx +++ b/ui/component/button/view.jsx @@ -97,6 +97,9 @@ const Button = forwardRef((props: Props, ref: any) => { const combinedRef = useCombinedRefs(ref, innerRef, myref); const size = iconSize || (!label && !children) ? 18 : undefined; // Fall back to default + // Label can be a string or object ( use title instead ) + const ariaLabel = description || (typeof label === 'string' ? label : title); + const content = ( {icon && } @@ -224,7 +227,7 @@ const Button = forwardRef((props: Props, ref: any) => {