From f0e70a3c6c50db13cd075c3cf4f2c1956aec9e33 Mon Sep 17 00:00:00 2001 From: Flaburgan Date: Tue, 6 Sep 2016 13:08:32 +0200 Subject: [PATCH] Fix wrong aria label closes #7068 --- Changelog.md | 1 + app/views/devise/passwords/new.haml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 258696f32..e3ecbcf47 100644 --- a/Changelog.md +++ b/Changelog.md @@ -6,6 +6,7 @@ * Make the session cookies HttpOnly again [#7041](https://github.com/diaspora/diaspora/pull/7041) * Invalidate sessions with invalid CSRF tokens [#7050](https://github.com/diaspora/diaspora/pull/7050) * Liking a post will no longer update its interacted timestamp [#7030](https://github.com/diaspora/diaspora/pull/7030) +* Improve W3C compliance [#7068](https://github.com/diaspora/diaspora/pull/7068) ## Bug fixes * Post comments no longer get collapsed when interacting with a post [#7040](https://github.com/diaspora/diaspora/pull/7040) diff --git a/app/views/devise/passwords/new.haml b/app/views/devise/passwords/new.haml index 7d21132e9..627aa3a1d 100644 --- a/app/views/devise/passwords/new.haml +++ b/app/views/devise/passwords/new.haml @@ -24,7 +24,7 @@ placeholder: t("devise.passwords.new.email"), autocorrect: "off", autofocus: true, - aria: {labelledby: "passwordLabel"} + aria: {labelledby: "emailLabel"} = f.submit t("devise.passwords.new.send_password_instructions"), class: "btn btn-block btn-primary"