Firefox accessibility issue due to word-wrap and small width

Firefox merges all words into one when in a container that has word-wrap set to "break-word" and has a small width. This means screen readers read the hidden content as "Postedon" instead of "Posted on".

Content not hidden

Posted on: 1 January 1970

Hidden content with the issue

Posted on: 1 January 1970

Hidden content fixed

Posted on: 1 January 1970

Same content with same issue but not hidden

Posted on: 1 January 1970