-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix avatar sanitize and cleanup code & css #1786
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1786 +/- ##
=========================================
Coverage 34.38% 34.38%
Complexity 148 148
=========================================
Files 19 19
Lines 442 442
=========================================
Hits 152 152
Misses 290 290 Continue to review full report at Codecov.
|
Seems the image-button-overlay now is visible all the time. It was only on mouse-over before. Is that on purpose? |
Accessibility for keyboard and mobile users. If it's hidden, you don't know it's there. :) |
121a2e7
to
6b14f68
Compare
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6b14f68
to
fbb5858
Compare
Thought that would be the reason we keep the second menu in the modal. But if its on purpose, that's fine for me. |
Right! Let's ping @jancborchardt for when he gets back and let get this in :) |
I’d agree it would be nicer to only show it on hover/focus. Also showing it on focus makes sure it’s also visible to keyboard users. On mobile, I’d say people expect something to happen on tap of the avatar if they want to change it. |
@skjnldsv if you find the time, I would also prefer the hover behaviour. |
Xss svg examples (safe, fire an alert)