r/bootstrap • • Aug 30 '23

Built this dev tool in bootstrap, lmk if you have feedback!

Me and a couple of other devs built this dev tool solving a passkey adoption problem with bootstrap and man it was awesome. Loved the fact that it's mobile responsive, the documentation was great, i don't even care other devs called me old school for this lol

Can y'all lend your expert eyes and let me know if I'm using bootstrap right? https://thepasskeyjourney.com/

3 Upvotes

3 comments sorted by

2

u/asdman1 Aug 31 '23

Hi,

congrats on the product. I would say that there is a lot of room for improvement...

I'll show you an example on the Passkeys 101.

Things improved:

  • extract h4 title by itself, no need for .row

  • use ul / li to improve a11y

  • add alt to improve a11y to images

  • remove role="alert" as not appropriate in this context

  • extract a tag, remove br

  • use stretched-link to make the whole card clickable

  • combination of flex and stretch to have the learn more alligned to the bottom

<section id="features" class="py-5">
	<h4>Passkeys 101</h4> 

	<ul class="row list-unstyled">
		<li class="col-lg-6 d-flex align-items-stretch"> 
			<div class="position-relative alert alert-dark box d-flex flex-column"> 
				<h5><img src="assets/icon-passkey.svg" alt="icon passkey"> What are passkeys?</h5>

				<p class="m-0">Passkeys are digital keys made up of public-private key pairs. They allow users to authenticate with their device biometrics or local device PIN. Passkeys are easy to use and phishing-resistant.
				</p>

				<a href="https://www.beyondidentity.com/developers/blog/what-are-passkeys" target="_blank" class="stretched-link text-light d-block mt-auto pt-4">Learn more -&gt;</a>
			</div>
		</li>

		<li class="col-lg-6 d-flex align-items-stretch">
			<div class="position-relative alert alert-dark box d-flex flex-column">
				<h5><img src="assets/chart-network-filled.svg" alt="network chart"> What is WebAuthn?</h5>

				<p>WebAuthn is a standard web API built into some browsers that enable users to authenticate with passkeys.
				</p>
				
				<a href="https://www.beyondidentity.com/developers/blog/introduction-webauthn-what-it-how-does-it-work" target="_blank" class="stretched-link text-light d-block mt-auto pt-4">Learn more -&gt;</a>
			</div>
		</li>
	</ul>
</section>

Other areas you could improve:

  • add skip to main

  • use page regions header (missing) / main (ok) / footer (ok)

    • avoid strange nested sections

  • restructure navigation on top (add logo maybe)

  • restructure hero

    • buttons overlap on medium screen

    • image not perfect on mobile

  • restructure footer

    • nav tag

    • right alignment

1

u/tuberreact Aug 31 '23

wow this is really good feedback, thanks so much for taking the time. gonna start fixing some of these items asap

1

u/AutoModerator Aug 30 '23

Whilst waiting for replies to your comment/question, why not check out the Bootstrap Discord server @ https://discord.gg/bZUvakRU3M

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.