Change auth provider logo alt texts to indicate that these are logos
This commit is contained in:
parent
f9db802c7b
commit
81ac29fad8
2 changed files with 7 additions and 7 deletions
|
@ -2588,22 +2588,22 @@ en:
|
|||
openid_login_button: "Continue"
|
||||
openid:
|
||||
title: Log in with OpenID
|
||||
alt: Log in with an OpenID URL
|
||||
alt: OpenID logo
|
||||
google:
|
||||
title: Log in with Google
|
||||
alt: Log in with a Google OpenID
|
||||
alt: Google logo
|
||||
facebook:
|
||||
title: Log in with Facebook
|
||||
alt: Log in with a Facebook Account
|
||||
alt: Facebook logo
|
||||
microsoft:
|
||||
title: Log in with Microsoft
|
||||
alt: Log in with a Microsoft Account
|
||||
alt: Microsoft logo
|
||||
github:
|
||||
title: Log in with GitHub
|
||||
alt: Log in with a GitHub Account
|
||||
alt: GitHub logo
|
||||
wikipedia:
|
||||
title: Log in with Wikipedia
|
||||
alt: Log in with a Wikipedia Account
|
||||
alt: Wikipedia logo
|
||||
oauth:
|
||||
authorize:
|
||||
title: "Authorize access to your account"
|
||||
|
|
|
@ -116,7 +116,7 @@ class UserHelperTest < ActionView::TestCase
|
|||
|
||||
def test_auth_button
|
||||
button = auth_button("google", "google")
|
||||
img_tag = "<img alt=\"Log in with a Google OpenID\" class=\"rounded-1\" src=\"/images/google.svg\" width=\"36\" height=\"36\" />"
|
||||
img_tag = "<img alt=\"Google logo\" class=\"rounded-1\" src=\"/images/google.svg\" width=\"36\" height=\"36\" />"
|
||||
assert_equal("<a class=\"auth_button btn btn-light mx-1 p-2 d-block\" title=\"Log in with Google\" rel=\"nofollow\" data-method=\"post\" href=\"/auth/google\">#{img_tag}</a>", button)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue