diff --git a/webapp/channels/src/components/suggestion/suggestion_list.tsx b/webapp/channels/src/components/suggestion/suggestion_list.tsx index 2c079ddbc3..82a27bb2b0 100644 --- a/webapp/channels/src/components/suggestion/suggestion_list.tsx +++ b/webapp/channels/src/components/suggestion/suggestion_list.tsx @@ -105,14 +105,14 @@ export default class SuggestionList extends React.PureComponent { announceLabel() { const suggestionReadOut = this.props.ariaLiveRef?.current; if (suggestionReadOut) { - suggestionReadOut.innerHTML = this.currentLabel as string; + suggestionReadOut.textContent = this.currentLabel; } } removeLabel() { const suggestionReadOut = this.props.ariaLiveRef?.current; if (suggestionReadOut) { - suggestionReadOut.innerHTML = ''; + suggestionReadOut.textContent = ''; } }