1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 12:10:51 +02:00

fix(a11y): reply placeholder not accessible (#3793)

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz
2023-04-16 21:13:32 +01:00
committed by GitHub
parent 4901c586ce
commit aa33cfd1f8
2 changed files with 7 additions and 4 deletions

View File

@@ -38,11 +38,11 @@ export default class ReplyPlaceholder extends Component {
};
return (
<article className="Post ReplyPlaceholder" onclick={reply}>
<header className="Post-header">
<button className="Post ReplyPlaceholder" onclick={reply}>
<span className="Post-header">
{avatar(app.session.user, { className: 'PostUser-avatar' })} {app.translator.trans('core.forum.post_stream.reply_placeholder')}
</header>
</article>
</span>
</button>
);
}