commit d556c8ad31505287292cc0a8aed86fed6971e7de
parent 665a9254bbbd8b8ec4a65ee3a19ee405ae2a3f96
Author: Marcel <mtrnord1@gmail.com>
Date: Sun, 14 Jun 2020 14:41:13 +0200
Add meta description for seo and make labels of login more accessible using "for" parameters
Took 4 minutes
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/app/views/login.rs b/src/app/views/login.rs
@@ -185,7 +185,7 @@ impl Component for Login {
<form class="uk-form-stacked uk-margin" id="login_form" onsubmit=self.link.callback(|e: FocusEvent| {e.prevent_default(); Msg::Login})>
<div class="uk-margin">
- <label class="uk-form-label">
+ <label for="homeserver" class="uk-form-label">
{
tr!(
// The URL Field of the Login page
@@ -212,7 +212,7 @@ impl Component for Login {
</div>
</div>
<div class="uk-margin">
- <label class="uk-form-label">
+ <label for="username" class="uk-form-label">
{
tr!(
// The Matrix ID Field of the Login page
@@ -238,7 +238,7 @@ impl Component for Login {
</div>
</div>
<div class="uk-margin">
- <label class="uk-form-label">
+ <label for="password" class="uk-form-label">
{
tr!(
// The Password Field of the Login page
diff --git a/static/index.html b/static/index.html
@@ -4,6 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="Description" content="A Matrix Client written in Rust using WebAssembly.">
<title>Daydream</title>
</head>
<body>