Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
Interesting as I was looking for ways to do random and that article never came up, I guess that is a double shout out to Alvaro then! You were bound to have seen an article on this before....but I still haven't found a password generator with it (unless you are going to disappoint me!) ๐คฃ
You can actually make the CSS password generator accessible by using a method similar to the article (instead of having the letters in the ::before, have them in the HTML and show/hide them). That way, users will be able to select them.
But remember: the passwords generated this way are not secure. They are only pseudo-random, so the password can be guessed/cracked knowing some factors.
Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
Yeah I did think that after Temani pointed me to your article, but I couldnโt work out a way of doing it that didnโt require 620 elements.
I hope I covered the โdonโt use this in production it isnโt actually randomโ clearly enough in the article but that is always the danger when you put code up, people just use it without thinking!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I see the CSS syndrom affected you ๐ .. pay attention you may loss you SVG skills if you continue this way ๐
A small optimization using
steps()
jsfiddle.net/fvombg9y/1/That is really strange, I tried with steps originally and things were ending up misaligned....maybe I was a dumb ass and put the wrong number in!
by the way, Alvaro wrote an article around random numbers on CSS: css-tricks.com/are-there-random-nu...
Interesting as I was looking for ways to do random and that article never came up, I guess that is a double shout out to Alvaro then! You were bound to have seen an article on this before....but I still haven't found a password generator with it (unless you are going to disappoint me!) ๐คฃ
Thank you for the shoutout :)
You can actually make the CSS password generator accessible by using a method similar to the article (instead of having the letters in the
::before
, have them in the HTML and show/hide them). That way, users will be able to select them.But remember: the passwords generated this way are not secure. They are only pseudo-random, so the password can be guessed/cracked knowing some factors.
Yeah I did think that after Temani pointed me to your article, but I couldnโt work out a way of doing it that didnโt require 620 elements.
I hope I covered the โdonโt use this in production it isnโt actually randomโ clearly enough in the article but that is always the danger when you put code up, people just use it without thinking!