I really appreciate videos like these, where we get to see it all from start to end. Personally, I believe building out small projects like this helps to teach many small important bits.
@MattHanes10 ай бұрын
This was excellent, I love how you included all of those accessibility features that are so often overlooked. I expected the aria-labels, but adding the content skipping was something I never thought about. A cool follow-up vid might be to show how to make the slider swipeable for touch users like on a phone or tablet.
@oscarh406610 ай бұрын
Great content, Kyle! Appreciate seeing the progress of the different versions of the slider.
@slinco6510 ай бұрын
Kudos for adding the accessibility details. So many tutorials leave off this very important part 👍
@diogenespasqualoto3 ай бұрын
O nome do canal é WDS
@pedromenezes401310 ай бұрын
It's really cool to see accessibility on a tutorial. Also really liked the accessibility button tip inside dev tools!
@xav_62410 ай бұрын
I really enjoyed the accessibility part. Very instructive content. 👍
@leosombra87087 ай бұрын
thank you. I'm from Argentina, and it's the first time I see your content, you're great. I recommended your channel to my friends
@developerpranav9 ай бұрын
The version 3 with accessibility touches is super helpful, I'd never have known anything beyond the version 2 until now. Thanks for the great tutorial, wanna get your Next.js course soon ❤
@user-qj4rr1rm8i10 ай бұрын
Everything I need to know about the accessibility part. Thank you Kyle.
@goodtimeswerehad5 ай бұрын
Another brilliant video Kyle, thank you!
@jhontriboyke55346 ай бұрын
The accessibility part is really amazing! thank you Kyle
@rico51469 ай бұрын
Great! One thing i just want to mention is that i think it is fine to only control z-index property of skip link button in this video. It seems that the button doesn't need to be squashed at all by setting each properties width and height by 1.
@danielwinkler191010 ай бұрын
insanely good tutorial, well done :D
@bobdpa9 ай бұрын
Lots of great info here. Thanks! 💯
@iamjvfs16 күн бұрын
Really next level, thank you!!
@brainftv9 ай бұрын
Thanks Kyle! The whole idea of rendering all the images to animate them more easily, never occurred to me! Elegant. Challenge to you and the rest of us: how would you make the images "drag" with the mouse, or in the case of mobile website drag with a touch event?
@user-vu9dl3vn7l4 ай бұрын
Thank you so much for this helpful tutorial!
@benjaminfourgeaud77079 ай бұрын
As always, excellent tutorial ! The acessibility is a nice add-on feature no one thinks about. But the things that I am missing, is the scroll capability, to have that Slider work on mobile ... Hope you will cover that in a follow-up video ;)
@re.liable9 ай бұрын
Nice. I expect to be coming back to this video a lot. Please do not take it down 🙏🏼 And many thanks for sharing I suppose I'll figure out next how to lazily load the images
@Veedsify9 ай бұрын
Everytime i think i know css, kyle comes up with features that makes me feel like a beginner again
@parmjeetmishra29 ай бұрын
Well this was very complicated for me from the start. but finally i understand completely. Thanks
@jamesgriesedieck51168 ай бұрын
thanks for the informative video! I would love to see an auto scroll feature as well!!
@xphstos_9 ай бұрын
Images are inline objects and as such they align vertically with text baseline by default. In typefaces we have ascenders, baseline and descenders. Since by default the image aligns in baseline it leaves a small gap in its box model. You can either set the image as a block element and break that connection with type or set the vertical-align rule to middle.
@theisoj10 ай бұрын
Thanks Kyle as always! 👍
@OcularLux59Ай бұрын
Awesome straight forward video! I'd love to see if it's possible to make the transition from the start or end of the carousel content look like it's infinitely looping rather than quickly sliding to the opposite end.
@atanu_20010 ай бұрын
guorgous 😍, I haven't added this much accessibility features for my projects, but now I will add all this and grateful to you kyle for this. it's great to have this kind of content free on KZbin. Thank you Kyle....
@jacobrichard23423 ай бұрын
You are the best !!!
@yaroslavoz10 ай бұрын
Thanks, man👏
@jasongrant23665 ай бұрын
my man never disappoints
@rdalert310 ай бұрын
you have no idea how frustrated I am with ready to use sliders libraries, I always wanted to create my own component just never had the time. thank you very much 😍
@user-pd2ic5pd3z9 ай бұрын
Nice. I really appreciated how clear and concise your instructions were. However, I was wondering if you could provide some guidance on how to make the slider slide infinitely instead of going back to the first slide.
@johncerpa378210 ай бұрын
Excellent video
@DioArsya9 ай бұрын
amazing! :)
@imnikki003 ай бұрын
Thanks kyle❤
@aakashsrivastava55572 ай бұрын
Great content
@shahzadasultan245610 ай бұрын
Your content is what driving my career , Thank you Man😇
@Mauro010 ай бұрын
Watch the video first maybe ?
@Trazynn10 ай бұрын
Teaching React this way is way more useful than all the abstract stuff.
@clevermissfoxАй бұрын
I was worried about the accessibility until i got to Slider 3! Shouldve had more faith❤
@solidsnake112010 ай бұрын
I would LOVE a Firebase Realtime Database tutorial with that React Firebase Auth video you did!
@aqibmalik631310 ай бұрын
i admire ur content and wait restlessly for ur next video Love from kashmir, India Aqib Malil
@sagarchilivery611210 ай бұрын
Love from India ❤
@anand_dudi10 ай бұрын
Thanks for this masterpiece nd i have a suggestion if you could make videos on every react library functionality as SwiperJS provides same slider so it will help us to understand react in depth 😊 Thanks again
@jazzdestructor9 ай бұрын
Final Somebody with a proper accessibility video, i had to struggle so much to get this information previously (literally sat with react mui and kept checking why they used those labels there), if possible could you do video in depth about accessibility? The various other labels used. also in mui tab indexing when opening a modal takes you to modal fields, instead of the entire page behind i think they might be using content skip to go to the modal div, incase its something else do reply to this comment so that i could learn some new stuff. cheers🍻🍻👍👍
@Di-yes10 ай бұрын
30:00 Oh, man, please, can you tell me does aria label really works for section? Cause I really searched a lot, but only found that you can use it on and interactive elements only. Will be really grateful for answer. Thanks
@GabrielSoldani10 ай бұрын
Nice video. One thing that is always missing though is when you have images with different aspect ratios. It’s surprisingly finicky to constrain the gallery to the viewport dimensions while respecting the image’s aspect ratio, not running into layout shifts while the image is loading, and adding padding and controls around the image instead of on top. Recently I wrote one and I still haven’t landed on a solution that plays nice with server rendering and renders correctly in slightly outdated browsers. It’s no wonder you can still find companies selling lightbox components with an expensive commercial license.
@WebDevSimplified10 ай бұрын
This slider will deal with images that are not the same aspect ratio. If you wanted to use images that are drastically different (such as 9:16 and 16:9) then you would probably want to change how the CSS object fit is instead of using cover.
@mostafazieada37656 ай бұрын
Really 👍👍👍
@gliderguld9 ай бұрын
Great. But shouldn't left and right arrow trigger slide (when focus is within this group)?
@cogitativeCoder9 ай бұрын
can you make a video on logging. like winston, ELK, EFK and frameworks please
@Matt2348810 ай бұрын
CSS needs a style property for making something hidden except from screen readers. It's kinda crazy you have to remember to do all of those things to make sure it behaves that way.
@mecozir9 ай бұрын
test caller slow source validation with is element for dynamics passing should auto lock
@MirkoVukusic10 ай бұрын
I think it's really necessary to add lazy loading of images and possibly also preloading the next one + blurred image placeholder while loading.
@Evil_E_ye9 ай бұрын
Just use Image tag in next js😂
@MirkoVukusic9 ай бұрын
@@Evil_E_yeyes, it's one way of solving some of the issues mentioned, but not all. I.e. preloading next image (so swyping does not always end up with a loading indicator) needs to be programmed
@Evil_E_ye9 ай бұрын
@@MirkoVukusic you are correct ✅ here.
@trade_wiser31442 ай бұрын
@@Evil_E_ye can you please explain, how it will work ?
@jasongrant23665 ай бұрын
Ok so I wanted to implement this to my website, but i encountered a small but important issue... my images are stored in AWS, and you know the drill. When the a button of next or previous image is pressed, it takes too long to make a change, I don't want to optimize them as this is where only one will load at a time and will allow the user to view the image at it's finest, but what i do ant to do is show a spinner or something while the other image is requested. I tried const [loading, setLoading] = useState(true), but it's just not exactly what I need. If anyone has a solution, please let me know. Thank you!
@wkmgaming60974 ай бұрын
I want to fixed the dots number just like airbnb card slider means if i have 20 images i want to show only 5 dots and when the slide move the current dot is show how to do could not find any good solution?
@Wilespro15 ай бұрын
You should make a similar video but with an infinite carousel
@mecozir9 ай бұрын
log in string allow app and load function decompiler item
@omobayodeosinubi1964Ай бұрын
This is great. can you add an auto slider to it?
@MrJacquers10 ай бұрын
Very nice. How would it handle 100 images though? Guessing it would render far too many buttons :)
@muhsin860410 ай бұрын
Nice
@oh-digitalАй бұрын
Autoplay would be a nice addition
@smithan3001Ай бұрын
Do have a video for adding autoSlide prop?
@mecozir9 ай бұрын
overried template async tool view is context original error and platform code plugin
@25castro2528 күн бұрын
Are you using Prettier to format on save?
@beinyourguard10 ай бұрын
Kyle, how did you open that little menu box and imported useState at 3:09? what's the keyboard shortcut?
@MarvMarv39710 ай бұрын
I think „cmd“ + „.“ on mac. But when you hover over a not imported dependency, vscode should show you the shortcut in a popup.
@w1nd25110 ай бұрын
How do You format all the code in one click? What do You use?
@mecozir9 ай бұрын
signals element process default change export before statement exit
@CodingSumo6 ай бұрын
can anyone help me how to change image when user try to swipe on phone
@ThugLifeModafocah10 ай бұрын
Thank you for the content. It would be awesome if you create content about material design 3 image slider (carousel). It has some very beautiful properties and behaviors. It would be cool to see it implemented with tailwind and react. Anyways, thanks.
@mecozir9 ай бұрын
origanal task file width drag push
@magnuserikkeenrobot11179 ай бұрын
How good is Image slideres like this for mobile @Web Dev Simplified?
@punch3n3ergy3710 ай бұрын
What about Sliders that contain images with different sizes? How would you handle that? Maybe you can do a video about that :)
@rico51469 ай бұрын
We can handle that problem by setting a property object-fit as cover on image. But the image aria outside the container boundary will be cliped.
@mecozir9 ай бұрын
leaks tool entity does around
@sahilverma_dev10 ай бұрын
and now I am waiting for advanced slider. 😎😎
@beinyourguard10 ай бұрын
it's already advanced enough. less is more.
@w1nd25110 ай бұрын
it's not optimized like at all, try using 20 images, lagging.@@beinyourguard and i'm using 4k images, so it's really laggy
@bouwensr10 ай бұрын
Why do I never see a slider that mix portrait and landscape and allow to rotate
@AyoubRABIYAE9 ай бұрын
❤❤❤
@GreenLikeGrass10 ай бұрын
should the dots really be aria-hidden, since they are interact-able?
@WebDevSimplified10 ай бұрын
The buttons are the interactable thing (not the actual dot icons) which is why I hid the dots, but not the buttons.
@RishiRajxtrim10 ай бұрын
👍💯
@Randomguy48279xyz9 ай бұрын
👍
@rickpatinor10 ай бұрын
Is a great video! But, It will be nice to see how you set up the project in VSC. Everything is already created when you start the video. So I can't even begin to follow you...
@justsample918510 ай бұрын
Personally, I find it confusing why you set translate on each image. IMHO, a better approach is to set the translate on single div wrapper around the images
@kokojolo3 ай бұрын
😘😘
@EvertJunior10 ай бұрын
unfortunately this doesn't cover touchscreen users, it's not trivial to make a responsive slider specially if you need controls and track index, that's why I always use Swiper library but I wish this was browser native
@MirkoVukusic10 ай бұрын
What I do is use scroll on images container div, instead of transition like in this video. Then you can do snapping and smooth-scroll with a few css lines. For touch screens, css touch-action is very simple and it works like that on mobile without any additional JS code.
@CWhitmer2201510 ай бұрын
Amen, that is what I do now as well. All the scrolling is built in and most stuff is handled by the browser. I have stopped coding and using slider for this approach. Much easier for the user as well.
@johnmishell23410 ай бұрын
I don't get how in 2023, you still have to code up an image slider yourself. Why is there no standard html element for ui elements like this? It just takes way too long to update html standards.
@curcodes10 ай бұрын
U don't, they are a lot of libraries for that. But knowing how to build it for yourself gives you more understanding
@faizanahmed930410 ай бұрын
This proves how deep understanding you know about your tech. Knowing from ground level is the thing that separates a great developer from the average ones who just copy pastes the library code.
@josephmonyoro512910 ай бұрын
Cause it’s fun
@johnmishell23410 ай бұрын
Yes there are libs, but it's just ridiculous that there isn't say an html element in which you can nest . No standards, everyone codes up their own crappy versions and that's for nearly every ui element
@mantas982710 ай бұрын
I thought the same, on the same note, how are we just now getting popovers?