You might be using buttons wrong

  Рет қаралды 563

Chris Soulaki

Chris Soulaki

Күн бұрын

Пікірлер
@roulla7792
@roulla7792 Ай бұрын
I really enjoy watching your videos !!
@dee23gaming
@dee23gaming Ай бұрын
I do think the anchor tags are in general more versatile. You can even turn an entire div container (including its children) into a clickable object with styling. I must just remember that if I want to align one of these "buttons", I must use "text-align" instead of something like "justify-content", because that div container would technically be classed as text, which is funny. I discovered this by accident when I was hand coding my business website.
@chris9soul
@chris9soul Ай бұрын
It's so much about being a clickable element as it is about accessibility. Buttons are for actions, links are for navigation. Also, if you're turning an entire card into a link, that will be an issue for screen readers, as they will read all the content of the link, including image alt text, as one sentence! I have an example of how we can fix that here: socks-ui.webflow.io/components/card
@Jay-pj7ob
@Jay-pj7ob Ай бұрын
Even most of the component libraries comes with "link" variant to their button component.
@chris9soul
@chris9soul Ай бұрын
The styling doesn't matter. What matters is the function. If it goes to a page, it should be a link. If it does an action, it should be a button. Links go, buttons do.
@wibletonha
@wibletonha Ай бұрын
Where to add the URL / Choose page to link to if you use a Custom element with 'button' tag?
@chris9soul
@chris9soul Ай бұрын
Buttons are not used for navigation! Use a link block
Just Tried WORDPRESS 🤯
27:55
Dea Afrizal
Рет қаралды 30 М.
DeepSeek-V3 + Cline: Develop full-stack applications
20:55
Helio Arreche - IAcode
Рет қаралды 4,4 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Deep dive into Webflow Component Style Variants
1:02:56
Chris Soulaki
Рет қаралды 278
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 976 М.
I Forked Bolt.new and Made it WAY Better
19:28
Cole Medin
Рет қаралды 99 М.
Trying Rive Responsive Layouts! (And talking about Webflow)
1:12:20
The ULTIMATE SwiperJS Guide [2024 Webflow]
26:07
Simon Lampert
Рет қаралды 4,4 М.
EASY Accessible Modals/Popups in  Webflow | Socks UI
6:44
Chris Soulaki
Рет қаралды 226
How I Coded An Entire Website Using ChatGPT
18:22
Nick White
Рет қаралды 1,9 МЛН
I built a REAL Desktop App with both Tauri and Electron
12:22
Bufferhead
Рет қаралды 93 М.