Thinking on ways to solve FABs

  Рет қаралды 13,646

Chrome for Developers

Chrome for Developers

Күн бұрын

Пікірлер: 47
@GavHern
@GavHern 2 жыл бұрын
I love that accessibility tree view! Did not know about that feature and will make my life a lot easier than turning on a screen reader to check if my accessibility is working.
@ROL4ND-CSS
@ROL4ND-CSS 2 жыл бұрын
What a great ideas again! Love watching these series! 🤘🏼
@akshar_dave
@akshar_dave 2 жыл бұрын
Thank you for making this, Adam! 😊
@abe10
@abe10 2 жыл бұрын
Love this series ♥️
@chinmayk8004
@chinmayk8004 2 жыл бұрын
Make all of this into a CSS framework called argyleCSS pls
@tentaklaus9382
@tentaklaus9382 2 жыл бұрын
You tried Flutter?
@bushigi5913
@bushigi5913 2 жыл бұрын
love this series of videos! please make more~
@Betterthanyou1234561
@Betterthanyou1234561 2 жыл бұрын
I have my own recipes for styling but damn I learned a lot of cool stuff about accessibility and browser features. Awesome video! Thanks
@nmay231
@nmay231 2 жыл бұрын
While I think that supporting rtl languages is important, I do not think this is one of those elements that should change depending on the language. My thought was that FABs are on the right side to make it easier to tap with your right hand, which in most countries is still the dominant preferred handedness. Besides, even in ltr languages, you still have to scroll the content far up enough so that the content isn't hidden by the FAB, and that works for both ltr and rtl. Perhaps we need a prefers left-handedness media query :) .
@serveshchaturvedi2034
@serveshchaturvedi2034 2 жыл бұрын
Man you are amazing. Epic transition music 😂👏
@the-old-channel
@the-old-channel 2 жыл бұрын
Cool implementation! I wanted to ask, what do you think of frameworks like tailwind? Everyone says it’s better and more convenient than writing pure CSS. I just don’t see how polluting your HTML with tons of classes is a better approach. What’s your opinion on that?
@Endrit719
@Endrit719 2 жыл бұрын
because that's what it means to have reuseable css, lets say you have a class d-flex which sets display:flex, now if you use this class everywhere you want to set display flex to element it means that you have defined that in one place but creating new classes for everything then you will have repeated properties which will result in larger css files .classA{ display:flex; flex-wrap: wrap; color:red; } .classB{ display:flex; flex-direction:column } .classC{ display:flex; gap:1.5rem; }
@bartek4210
@bartek4210 Жыл бұрын
Working in the field for more than 10 year, I don't see tailwind as a good solution, I don't use it, and I would rather recommend to focus on creating specific components, and using Sass variables to keep some values the same where they really should be, which is different for every design, every visual component.
@webdeveloperninja9220
@webdeveloperninja9220 2 жыл бұрын
hillariously awesome
@HugRunner
@HugRunner 2 жыл бұрын
I wish you would do a take on a "status bar" or alert messages, like success/error messages etc. Where to place them without taking over the UI and making it "jump", but still being visible on desktop and mobile.
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
oh interesting yeah, inline banners / alert messages or status bars. i'll add it to the list!
@ico0z
@ico0z 2 жыл бұрын
Just the way all thinks should be done
@merotuts9819
@merotuts9819 2 жыл бұрын
Can somebody explain how he used the ampersand(&) operator in plain css. I thought it existed only in SASS.
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
i explained it better in earlier videoss, but it's nesting per the spec draft www.w3.org/TR/css-nesting-1/ and I'm using a postcss plugin to use the syntax today 👍🏻
@giovanicamara869
@giovanicamara869 2 жыл бұрын
The placement of the button in the DOM is crucial for a keyboard user
@oskrm
@oskrm 2 жыл бұрын
Hey Adam, nice stuff, can you do add a context menu + click and drag select to your GUIs?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
it's in the list!
@musk_eIon
@musk_eIon 2 жыл бұрын
Ever better than another former time
@nikhilhukkerikar6753
@nikhilhukkerikar6753 2 жыл бұрын
What is that debugging corner there a separate app or just browsers along side some iOS/Android emulators?! Love it great way to test them all at once!
@predaytor
@predaytor 2 жыл бұрын
Ahha. I LIKE IT. FUN MIX!
@mateusvahl5072
@mateusvahl5072 2 жыл бұрын
Love those videos 💝
@rogierderuijter7009
@rogierderuijter7009 2 жыл бұрын
Animation box-shadow is something you shouldn’t do right?
@appeltaartnl
@appeltaartnl 2 жыл бұрын
Very nice way to keep the tab index as it should by using flex direction! Great video 👍 One thing that I've been wondering though. I believe you were doing this in your previous video (about buttons) also. As described in the written article from the last video, you're using Lea Verou's convention for custom properties with defaults. I feel like you are using the pseudo private custom properties incorrectly. You're not setting any defaults. Are you trying to imply that these properties shouldn't be changed from the outside the of the FAB code (and that they are private)? Because that would heavily reduce the customizability if this were a component. Not trying to be negative, just curious what the idea behind that was :)
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
If you're making an API into custom styling, it's great to have the defaults yeah, and she does ensure that's part of her use case. I like it sometimes for a simpler reason, distinguishing design system global props from those that should be internal to the scope of the component. good question!
@glenospace
@glenospace 2 жыл бұрын
Love the video. Amazing everything, but could you please not use that strange font for css when recording. I find it absolutely brutal to read that font.
@patrick_h_lauke
@patrick_h_lauke 2 жыл бұрын
one aspect of FABs that still doesn't have a definitive answer: what order should they have in the tab cycle/how to easily reach them with the keyboard. one of the selling points of FABs is that they're always handy for touch/mouse/pointer users. but for keyboard users, they generally either come right at the start or the end of the tab cycle. i've been toying with the idea of treating them essentially as non-modal dialogs, with an appropriate shortcut key ... perhaps F6 or similar ... to jump between the regular page and the FAB itself (keeping track of where the focus was at when switching, and setting it back when jumping back to it). may need to investigate / make some demo...
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
def why the show started with this topic, that you'll need to find the right spot in focus flow to put these. i considered building a skip links type feature, where you could skip to the FAB (which I'd then have at the end of the document flow). but nothing really felt definitive in terms of advice, felt contextual to your experience and the flow of your UI. share what you make! i'm interested to try what you build 🙂
@patrick_h_lauke
@patrick_h_lauke 2 жыл бұрын
@@AdamArgyleInk yeah even a skip link would not allow for easy "arbitrary" jumping to it at any point, the same way pointer users can always get to it easily. almost a case for the old accesskey to set focus to the FAB. but yeah, once i get a moment, i'll try setting something up on codepen
@furkanacar
@furkanacar 2 жыл бұрын
12:40 Why don't you change the actual order in the DOM and get rid of "column-reverse" and "z-index: -1" adjustments?
@michaelrobinson5981
@michaelrobinson5981 2 жыл бұрын
Because then the focus order / accessibility is off
@furkanacar
@furkanacar 2 жыл бұрын
@@michaelrobinson5981 I think you can manage the focus order using `tabIndex`, right?
@predaytor
@predaytor 2 жыл бұрын
WHAT IS THAT GORGEOUS FONT? Thx
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
Dank Mono!
@gexcube1981
@gexcube1981 2 жыл бұрын
Good evening, can I know a senior expert to speed up my website from DESKTOP AND MOBILE on chrome and edge? a person who knows how to fix errors and bugs without ruining the website;
@الباحثعبدالرحمن-ث5ع
@الباحثعبدالرحمن-ث5ع 2 жыл бұрын
رجاءا خاطبني باللغه التي افهمها (العربيه)
@Anton-pz6kd
@Anton-pz6kd 2 жыл бұрын
You do column reverse, but if that's always the use case, why not declare the buttons in the right order up front.. Overall a pretty confusing video, better if done with pure CSS for demo purposes, imo
@forceboxed
@forceboxed 2 жыл бұрын
If you rewatch, you might observe his reasoning that the reverse order is to de-prioritise the mini-FABs in the tab order.
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
@@forceboxed yep, first to get focus should be the primary FAB, not the secondary ones. but definitely a UX micro interaction worth testing or exploring further based on your app and use case
@jannismorgenstern7842
@jannismorgenstern7842 2 жыл бұрын
also it is pure css - he is just using a bunch of custom properties
@forceboxed
@forceboxed 2 жыл бұрын
@@AdamArgyleInk I agree. It's one of those UX behaviour that just "feel" right. Similar to the code to prevent mini FABs shadowing the main FAB.
@merotuts9819
@merotuts9819 2 жыл бұрын
Can anybody explain how he managed to use the ampersand(&) operator in plain CSS ? When did they add this operator to plain CSS ?
Thinking on ways to solve BUTTONS
13:20
Chrome for Developers
Рет қаралды 42 М.
Thinking on ways to solve BASIC PHYSICS
21:28
Chrome for Developers
Рет қаралды 12 М.
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 5 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 22 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 40 МЛН
Demystifyingish SVG paths | HTTP 203
17:34
Chrome for Developers
Рет қаралды 20 М.
Thinking on ways to solve TOOLTIPS
20:41
Chrome for Developers
Рет қаралды 19 М.
State of CSS
18:54
Chrome for Developers
Рет қаралды 136 М.
Thinking on ways to solve COLOR SCHEMES
12:21
Chrome for Developers
Рет қаралды 20 М.
Thinking on ways to solve TRANSITIONS
21:22
Chrome for Developers
Рет қаралды 17 М.
Thinking on ways to solve CAROUSELS
27:23
Chrome for Developers
Рет қаралды 24 М.
FLIP animations | HTTP 203
18:28
Chrome for Developers
Рет қаралды 21 М.
Thinking on ways to solve a DARK/LIGHT THEME SWITCH
24:56
Chrome for Developers
Рет қаралды 22 М.
Bringing page transitions to the web
12:57
Chrome for Developers
Рет қаралды 231 М.
Thinking on ways to solve ​​SPLIT BUTTONS
21:55
Chrome for Developers
Рет қаралды 24 М.
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН