diff --git a/js/src/common/components/Button.tsx b/js/src/common/components/Button.tsx index 2dce1fe175..c4a4890979 100644 --- a/js/src/common/components/Button.tsx +++ b/js/src/common/components/Button.tsx @@ -93,7 +93,7 @@ export default class Button extends Component { if (!ariaLabel && !extractText(vnode.children) && !this.element?.getAttribute?.('aria-label')) { fireDebugWarning( - '[Flarum Accessibility Warning] This button has no content but does not have any accessible label. This means that screen-readers will not be able to interpret its meaning. Consider providing accessible text via the `aria-label` attribute.\n\nLearn more: https://web.dev/button-name', + '[Flarum Accessibility Warning] This button has no content and does not have any accessible label. This means that screen-readers will not be able to interpret its meaning. Consider providing accessible text via the `aria-label` attribute.\n\nLearn more: https://web.dev/button-name', this.element ); }