Managing User Focus with :focus-visible
This is going to be the 2nd post in a small series we are doing on form accessibility. If you missed the first post, check out Accessible Forms with Pseudo Classes. In this post we are going to look …
This is going to be the 2nd post in a small series we are doing on form accessibility. If you missed the first post, check out Accessible Forms with Pseudo Classes. In this post we are going to look …
Hey all you wonderful developers out there! In this post, I am going to take you through creating a simple contact form using semantic HTML and an awesome CSS pseudo class known as :focus-within
. The :focus-within
class allows for …
Browsers are constantly adding new HTML, JavaScript and CSS features. Here are some useful additions to working with forms that you might have missed……
I feel like half of all “custom-designed radio buttons and checkboxes” do two things:
Louis Lazaris breaks down some bonafide CSS trickery from Jane. The Pen shows off interactivity where:
From there, a special message pops …
I only just recently learned the enterkeyhint
attribute on form inputs was a thing! It seems like kind of a big deal to me, as crafting HTML form markup is a decent slice of a front-end developer’s life, and this …
We’re going to create a contact form with Next.js and Netlify that displays a confirmation screen and features enhanced spam detection.
Next.js is a powerful React framework for developing performant React applications that scale. By integrating a Next.js site with …
Let’s talk about disabled buttons. Specifically, let’s get into why we use them and how we can do better than the traditional disabled
attribute in HTML (e.g. <button disabled>
) to mark a button as disabled.
There are lots of …
This was a great “Today I Learned” for me from Josh W. Comeau. If the font-size
of an <input>
is 16px or larger, Safari on iOS will focus into the input normally. But as soon as the font-size
is …
When I was working on a project that needed an editor component for source code, I really wanted a way to have that editor highlight the syntax that is typed. There are projects like this, like CodeMirror, Ace, …