Merge branch 'feature/frontend-a11y' of https://github.com/richardj/lemmy into richardj-feature/frontend-a11y

This commit is contained in:
Dessalines 2020-02-02 12:55:45 -05:00
commit 606fb9d326
2 changed files with 3 additions and 3 deletions

View file

@ -78,7 +78,7 @@ export class Login extends Component<any, State> {
return ( return (
<div> <div>
<form onSubmit={linkEvent(this, this.handleLoginSubmit)}> <form onSubmit={linkEvent(this, this.handleLoginSubmit)}>
<h2>{ i18n.t('login') }</h2> <h5>{ i18n.t('login') }</h5>
<div class="form-group row"> <div class="form-group row">
<label class="col-sm-2 col-form-label" for="login-email-or-username"> <label class="col-sm-2 col-form-label" for="login-email-or-username">
{ i18n.t('email_or_username') } { i18n.t('email_or_username') }

View file

@ -31,9 +31,9 @@ export class PostListings extends Component<PostListingsProps, any> {
)) ))
) : ( ) : (
<> <>
<h2> <h5>
{ i18n.t('no_posts') } { i18n.t('no_posts') }
</h2> </h5>
{this.props.showCommunity !== undefined && ( {this.props.showCommunity !== undefined && (
<div> <div>
<Link to="/communities">{ i18n.t('subscribe_to_communities') }</Link> <Link to="/communities">{ i18n.t('subscribe_to_communities') }</Link>