diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2018-08-27 11:16:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 11:16:28 +0200 |
commit | 148e9cacb0d046d41896d3d5dab0b1a90bd1421b (patch) | |
tree | c5632e9149177503aebc477b604f8ad01b900a78 /core | |
parent | 8b47f45afa3b7837032d6ce1cfcda1c901ae840f (diff) | |
parent | 3177714574d488eb47af9812f978b821e2e5c7c6 (diff) | |
download | nextcloud-server-148e9cacb0d046d41896d3d5dab0b1a90bd1421b.tar.gz nextcloud-server-148e9cacb0d046d41896d3d5dab0b1a90bd1421b.zip |
Merge pull request #10867 from nextcloud/bugfix/noid/a11y
Use empty alt tag for avatars since there is always the name next to it
Diffstat (limited to 'core')
-rw-r--r-- | core/css/inputs.scss | 4 | ||||
-rw-r--r-- | core/js/jquery.avatar.js | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 925069917e0..365a7c9c426 100644 --- a/core/css/inputs.scss +++ b/core/css/inputs.scss @@ -469,7 +469,7 @@ input { white-space: nowrap; text-overflow: ellipsis; background: var(--color-main-background); - color: var(--color-text-lighter); + color: var(--color-text-lighter) !important; box-sizing: content-box; border-radius: var(--border-radius); border: 1px solid var(--color-border-dark); @@ -514,7 +514,7 @@ input { white-space: nowrap; text-overflow: ellipsis; background: var(--color-main-background); - color: var(--color-text-lighter); + color: var(--color-text-lighter) !important; box-sizing: content-box; border-radius: var(--border-radius); border: 1px solid var(--color-border-dark); diff --git a/core/js/jquery.avatar.js b/core/js/jquery.avatar.js index 7384804c9d4..a821a41cc86 100644 --- a/core/js/jquery.avatar.js +++ b/core/js/jquery.avatar.js @@ -141,5 +141,6 @@ img.width = size; img.height = size; img.src = url; + img.alt = ''; }; }(jQuery)); |